#602BA6#602BA6

#602BA6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.184 H 297.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#602BA6
RGBrgb(96, 43, 166)
HSLhsl(266, 59%, 41%)
HSVhsv(266, 74%, 65%)
CMYKcmyk(42.2%, 74.1%, 0%, 34.9%)
CIE-LABlab(31.73, 48.99, -56.95)
CIE-LCHlch(31.73, 75.13, 310.70°)
OKLaboklab(43.34% 0.0858 -0.1629)
OKLCHoklch(43.34% 0.184 297.8)
XYZxyz(12.5689, 6.9675, 36.7517)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BA6 #71A62B
analogous
#2B33A6 #602BA6 #9D2BA6
triadic
#602BA6 #A6602B #2BA660
tetradic
#602BA6 #A62B33 #71A62B #2BA69D
square
#602BA6 #A62B33 #71A62B #2BA69D
split-complementary
#602BA6 #A69D2B #33A62B
monochromatic
#281245 #441E75 #602BA6 #7D41CE #9E71DA

Accessibility & contrast

On white

8.77
#602BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602BA6
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BA6#FFFFFF#000000##FFFFFF
##602BA61.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#4E4B66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602ba6;
/* rgb */ color: rgb(96, 43, 166);
/* oklch */ color: oklch(43.3% 0.184 297.8);
Tailwind
colors: {
  custom: {
    50: '#946ac1',
    500: '#602ba6',
    950: '#000000',
  },
}
SCSS
$custom: #602ba6;
$custom-light: #946ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#602ba6",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 265.854,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.18409,
    "h": 297.8
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#602BA6
secondary
#9CC16B
accent
#E2469F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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