#602DB2#602DB2

#602DB2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.195 H 294.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#602DB2
RGBrgb(96, 45, 178)
HSLhsl(263, 60%, 44%)
HSVhsv(263, 75%, 70%)
CMYKcmyk(46.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(33.09, 51.19, -61.93)
CIE-LCHlch(33.09, 80.34, 309.58°)
OKLaboklab(44.61% 0.0812 -0.1775)
OKLCHoklch(44.61% 0.195 294.6)
XYZxyz(13.7960, 7.5775, 42.8466)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602DB2 #7FB22D
analogous
#2D3CB2 #602DB2 #A22DB2
triadic
#602DB2 #B2602D #2DB260
tetradic
#602DB2 #B22D3C #7FB22D #2DB2A2
square
#602DB2 #B22D3C #7FB22D #2DB2A2
split-complementary
#602DB2 #B2A22D #3CB22D
monochromatic
#2B1450 #462181 #602DB2 #7E4BD1 #A17CDE

Accessibility & contrast

On white

8.35
#602DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#602DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602DB2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602DB2#FFFFFF#000000##FFFFFF
##602DB21.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#48506D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #602db2;
/* rgb */ color: rgb(96, 45, 178);
/* oklch */ color: oklch(44.6% 0.195 294.6);
Tailwind
colors: {
  custom: {
    50: '#956bca',
    500: '#602db2',
    950: '#000000',
  },
}
SCSS
$custom: #602db2;
$custom-light: #956bca;
$custom-dark: #000000;
JSON
{
  "hex": "#602db2",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 263.008,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44614,
    "c": 0.19516,
    "h": 294.6
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#602DB2
secondary
#A7C675
accent
#E345A6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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