#602D9F#602D9F

#602D9F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.174 H 299.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#602D9F
RGBrgb(96, 45, 159)
HSLhsl(267, 56%, 40%)
HSVhsv(267, 72%, 62%)
CMYKcmyk(39.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(31.50, 46.22, -53.10)
CIE-LCHlch(31.50, 70.40, 311.03°)
OKLaboklab(43% 0.0853 -0.1515)
OKLCHoklch(43% 0.174 299.4)
XYZxyz(12.0187, 6.8666, 33.4864)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D9F #6C9F2D
analogous
#2D339F #602D9F #992D9F
triadic
#602D9F #9F602D #2D9F60
tetradic
#602D9F #9F2D33 #6C9F2D #2D9F99
square
#602D9F #9F2D33 #6C9F2D #2D9F99
split-complementary
#602D9F #9F992D #339F2D
monochromatic
#261240 #43206F #602D9F #7D40C9 #9E70D6

Accessibility & contrast

On white

8.85
#602D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#602D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D9F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D9F#FFFFFF#000000##FFFFFF
##602D9F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#514963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602d9f;
/* rgb */ color: rgb(96, 45, 159);
/* oklch */ color: oklch(43.0% 0.174 299.4);
Tailwind
colors: {
  custom: {
    50: '#936abc',
    500: '#602d9f',
    950: '#000000',
  },
}
SCSS
$custom: #602d9f;
$custom-light: #936abc;
$custom-dark: #000000;
JSON
{
  "hex": "#602d9f",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 266.842,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.43001,
    "c": 0.17392,
    "h": 299.4
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#602D9F
secondary
#98BE6A
accent
#DF499C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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