#602F9B#602F9B

#602F9B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.167 H 300.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#602F9B
RGBrgb(96, 47, 155)
HSLhsl(267, 53%, 40%)
HSVhsv(267, 70%, 61%)
CMYKcmyk(38.1%, 69.7%, 0%, 39.2%)
CIE-LABlab(31.55, 44.17, -50.60)
CIE-LCHlch(31.55, 67.17, 311.12°)
OKLaboklab(42.93% 0.0839 -0.1442)
OKLCHoklch(42.93% 0.167 300.2)
XYZxyz(11.7553, 6.8863, 31.7139)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602F9B #6A9B2F
analogous
#2F349B #602F9B #962F9B
triadic
#602F9B #9B602F #2F9B60
tetradic
#602F9B #9B2F34 #6A9B2F #2F9B96
square
#602F9B #9B2F34 #6A9B2F #2F9B96
split-complementary
#602F9B #9B962F #349B2F
monochromatic
#26133D #43216C #602F9B #7D42C6 #9E71D4

Accessibility & contrast

On white

8.83
#602F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#602F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602F9B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602F9B#FFFFFF#000000##FFFFFF
##602F9B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#534861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602f9b;
/* rgb */ color: rgb(96, 47, 155);
/* oklch */ color: oklch(42.9% 0.167 300.2);
Tailwind
colors: {
  custom: {
    50: '#926bb9',
    500: '#602f9b',
    950: '#000000',
  },
}
SCSS
$custom: #602f9b;
$custom-light: #926bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#602f9b",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 267.222,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.16683,
    "h": 300.2
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#602F9B
secondary
#97BB6A
accent
#DD4B9B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #602F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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