#602D9C#602D9C

#602D9C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.171 H 300.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#602D9C
RGBrgb(96, 45, 156)
HSLhsl(268, 55%, 39%)
HSVhsv(268, 71%, 61%)
CMYKcmyk(38.5%, 71.2%, 0%, 38.8%)
CIE-LABlab(31.26, 45.44, -51.67)
CIE-LCHlch(31.26, 68.81, 311.33°)
OKLaboklab(42.76% 0.0859 -0.1473)
OKLCHoklch(42.76% 0.171 300.2)
XYZxyz(11.7615, 6.7638, 32.1319)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D9C #699C2D
analogous
#2D319C #602D9C #982D9C
triadic
#602D9C #9C602D #2D9C60
tetradic
#602D9C #9C2D31 #699C2D #2D9C98
square
#602D9C #9C2D31 #699C2D #2D9C98
split-complementary
#602D9C #9C982D #319C2D
monochromatic
#26123D #431F6D #602D9C #7E3FC8 #9E6ED5

Accessibility & contrast

On white

8.93
#602D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#602D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D9C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D9C#FFFFFF#000000##FFFFFF
##602D9C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#524861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602d9c;
/* rgb */ color: rgb(96, 45, 156);
/* oklch */ color: oklch(42.8% 0.171 300.2);
Tailwind
colors: {
  custom: {
    50: '#926aba',
    500: '#602d9c',
    950: '#000000',
  },
}
SCSS
$custom: #602d9c;
$custom-light: #926aba;
$custom-dark: #000000;
JSON
{
  "hex": "#602d9c",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 267.568,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.17052,
    "h": 300.2
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#602D9C
secondary
#96BC68
accent
#DF499A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #602D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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