Skip to content

#6309c0

a dark, electric violet · cool · closest name: Medium Blue

RGB
99, 9, 192
HSL
270°, 91%, 39%
CMYK
48, 95, 0, 25
Luminance
0.0665

At a glance

Every number on this page in one read: what #6309c0 is made of, how bright it looks, and which way it leans.

Hex
#6309c0
Hue
270°
violet
Saturation
91%
electric
Lightness
39%
dark
Brightness
75%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0665
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.01:1
Closest name
Medium Blue
ΔE2000 7.5
Where it sits
Hue270° of 360°
Saturation91%
Lightness39%
Temperature
Warm ← → Cool67% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#6309c0
RGBrgb(99, 9, 192)
HSLhsl(270, 91%, 39%)
CMYKcmyk(48%, 95%, 0%, 25%)
LABlab(31.0 66.1 -73.6)
LCHlch(31.0 99.0 311.9)
OKLCHoklch(0.437 0.234 295.5)
Decimal6490560
Display P3color(display-p3 0.388 0.035 0.753)

Copy-ready code

/* CSS */
color: #6309c0;
background-color: #6309c0;
/* Tailwind (arbitrary) */
class="text-[#6309c0] bg-[#6309c0]"
/* SCSS */
$brand: #6309c0;
/* SwiftUI */
Color(red: 0.388, green: 0.035, blue: 0.753)
/* Android */
Color.parseColor("#6309c0")
/* Flutter */
Color(0xFF6309C0)
/* Python / OpenCV (BGR) */
(192, 9, 99)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #6309c0 · 9.01:1
Use #ffffffAAA at every size.
Aa
White text · 9.01:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.33:1
AA fail · AA large fail · AAA fail
Reading the other direction: #6309c0 as text scores 9.01:1 on white and 2.33:1 on black.

Accessibility — WCAG contrast

Aa
#6309c0 on white: 9.01:1
AA ✓ pass · AA-large · AAA
Aa
#6309c0 on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004AC4
deuteranopia · #0046BD
tritanopia · #474B70

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6309c0 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F2FD
#F0E5FB
#DDC3F9
#C694FA
#AA5EF7
#8D29F5
#790BEA
#6309c0
#50079C
#3C0A70
#260646
Base = 700Lightest = 50 · #F7F2FDDarkest = 950 · #260646
:root {
  --brand-50: #F7F2FD;
  --brand-100: #F0E5FB;
  --brand-200: #DDC3F9;
  --brand-300: #C694FA;
  --brand-400: #AA5EF7;
  --brand-500: #8D29F5;
  --brand-600: #790BEA;
  --brand-700: #6309c0;
  --brand-800: #50079C;
  --brand-900: #3C0A70;
  --brand-950: #260646;
  --brand: #6309c0;
  --brand-ink: #ffffff;
}

Colors that work with #6309c0

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#98C705
Second voice, not a rival
Dark variant#3F067A
Hover, pressed, headers
Light variant#F2E7FE
Selected rows, tints
Dark surface#1C1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #6309c0

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#66C009
Analogous left#090BC0
Analogous right#BE09C0
Split-complement 1#C0BE09
Split-complement 2#0BC009
Triadic 1#C06309
Triadic 2#09C063
Tetradic#C0090B

RGB percentages

Red38.8%
Green3.5%
Blue75.3%

CMYK percentages

Cyan48.4%
Magenta95.3%
Yellow0.0%
Key (black)24.7%

Color previews

#6309c0 text on a black background

contrast 2.33:1

Card sample

#6309c0 text on a white background

contrast 9.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6309c0;
Background color
Panel with #6309c0 background
background-color: #6309c0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6309c0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(99, 9, 192, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(99, 9, 192, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6309c0;
background: linear-gradient(135deg, #6309c0, #C009A3);

Monochromatic scale

Palettes built from #6309c0

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#6309c0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#6309c0, answered

What color is #6309c0?

#6309c0 is a dark electric violet, closest to Medium Blue (ΔE2000 7.5). It sits at 270° on the hue wheel with 91% saturation and 39% lightness, which reads as cool.

What is the RGB value of #6309c0?

rgb(99, 9, 192) — 99 red, 9 green and 192 blue out of 255, or 38.8% / 3.5% / 75.3% by channel.

Is #6309c0 a light or a dark color?

It is a dark color. Relative luminance is 0.0665 and perceived brightness is 33%, so white text on it reaches 9.01:1.

Should I use black or white text on #6309c0?

White. It scores 9.01:1 against #6309c0, versus 2.33:1 for black — AAA at any size.

What is the complementary color of #6309c0?

#66C009 sits directly opposite on the wheel. Softer options are the split-complements #C0BE09 and #0BC009, which give the same contrast with far less vibration.

What colors go well with #6309c0?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #98C705 as an accent and #3F067A for hover and pressed states. For a palette, the analogous pair #090BC0 and #BE09C0 stays calm, while #66C009 is the loudest partner.

What is #6309c0 in CMYK for printing?

cmyk(48%, 95%, 0%, 25%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #6309c0 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A609C0; nudged cooler, #1E07C2.

Work with #6309c0 in the Color Lab