#602DA8#602DA8

#602DA8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.184 H 297.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#602DA8
RGBrgb(96, 45, 168)
HSLhsl(265, 58%, 42%)
HSVhsv(265, 73%, 66%)
CMYKcmyk(42.9%, 73.2%, 0%, 34.1%)
CIE-LABlab(32.24, 48.56, -57.34)
CIE-LCHlch(32.24, 75.14, 310.26°)
OKLaboklab(43.75% 0.0835 -0.164)
OKLCHoklch(43.75% 0.184 297)
XYZxyz(12.8283, 7.1905, 37.7502)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602DA8 #75A82D
analogous
#2D38A8 #602DA8 #9E2DA8
triadic
#602DA8 #A8602D #2DA860
tetradic
#602DA8 #A82D38 #75A82D #2DA89E
square
#602DA8 #A82D38 #75A82D #2DA89E
split-complementary
#602DA8 #A89E2D #38A82D
monochromatic
#291347 #442078 #602DA8 #7D45CD #9F75DA

Accessibility & contrast

On white

8.61
#602DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#602DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602DA8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602DA8#FFFFFF#000000##FFFFFF
##602DA81.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#4D4C68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #602da8;
/* rgb */ color: rgb(96, 45, 168);
/* oklch */ color: oklch(43.8% 0.184 297.0);
Tailwind
colors: {
  custom: {
    50: '#946bc3',
    500: '#602da8',
    950: '#000000',
  },
}
SCSS
$custom: #602da8;
$custom-light: #946bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#602da8",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 264.878,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.18402,
    "h": 297
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#602DA8
secondary
#9FC26F
accent
#E147A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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