#602BA5#602BA5

#602BA5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.183 H 298.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#602BA5
RGBrgb(96, 43, 165)
HSLhsl(266, 59%, 41%)
HSVhsv(266, 74%, 65%)
CMYKcmyk(41.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(31.65, 48.73, -56.49)
CIE-LCHlch(31.65, 74.60, 310.78°)
OKLaboklab(43.26% 0.0861 -0.1615)
OKLCHoklch(43.26% 0.183 298.1)
XYZxyz(12.4775, 6.9310, 36.2704)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BA5 #70A52B
analogous
#2B33A5 #602BA5 #9D2BA5
triadic
#602BA5 #A5602B #2BA560
tetradic
#602BA5 #A52B33 #70A52B #2BA59D
square
#602BA5 #A52B33 #70A52B #2BA59D
split-complementary
#602BA5 #A59D2B #33A52B
monochromatic
#281244 #441E74 #602BA5 #7D40CD #9E71DA

Accessibility & contrast

On white

8.80
#602BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602BA5
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BA5#FFFFFF#000000##FFFFFF
##602BA51.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#4F4A66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602ba5;
/* rgb */ color: rgb(96, 43, 165);
/* oklch */ color: oklch(43.3% 0.183 298.1);
Tailwind
colors: {
  custom: {
    50: '#9369c1',
    500: '#602ba5',
    950: '#000000',
  },
}
SCSS
$custom: #602ba5;
$custom-light: #9369c1;
$custom-dark: #000000;
JSON
{
  "hex": "#602ba5",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 266.066,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.18299,
    "h": 298.1
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #602BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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