#602E9F#602E9F

#602E9F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.173 H 299.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#602E9F
RGBrgb(96, 46, 159)
HSLhsl(267, 55%, 40%)
HSVhsv(267, 71%, 62%)
CMYKcmyk(39.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(31.68, 45.72, -52.81)
CIE-LCHlch(31.68, 69.85, 310.88°)
OKLaboklab(43.13% 0.0843 -0.1507)
OKLCHoklch(43.13% 0.173 299.2)
XYZxyz(12.0573, 6.9438, 33.4992)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E9F #6D9F2E
analogous
#2E349F #602E9F #992E9F
triadic
#602E9F #9F602E #2E9F60
tetradic
#602E9F #9F2E34 #6D9F2E #2E9F99
square
#602E9F #9F2E34 #6D9F2E #2E9F99
split-complementary
#602E9F #9F992E #349F2E
monochromatic
#271340 #432070 #602E9F #7D42C8 #9E71D6

Accessibility & contrast

On white

8.79
#602E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#602E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E9F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E9F#FFFFFF#000000##FFFFFF
##602E9F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#514963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602e9f;
/* rgb */ color: rgb(96, 46, 159);
/* oklch */ color: oklch(43.1% 0.173 299.2);
Tailwind
colors: {
  custom: {
    50: '#936bbc',
    500: '#602e9f',
    950: '#000000',
  },
}
SCSS
$custom: #602e9f;
$custom-light: #936bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#602e9f",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 266.549,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.17267,
    "h": 299.2
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#602E9F
secondary
#99BE6B
accent
#DE499C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602E9F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#602E9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva