#602D88#602D88

#602D88 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.148 H 306.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#602D88
RGBrgb(96, 45, 136)
HSLhsl(274, 50%, 35%)
HSVhsv(274, 67%, 53%)
CMYKcmyk(29.4%, 66.9%, 0%, 46.7%)
CIE-LABlab(29.77, 40.38, -41.80)
CIE-LCHlch(29.77, 58.12, 314.01°)
OKLaboklab(41.21% 0.0885 -0.1183)
OKLCHoklch(41.21% 0.148 306.8)
XYZxyz(10.2052, 6.1413, 23.9355)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D88 #55882D
analogous
#322D88 #602D88 #882D82
triadic
#602D88 #88602D #2D8860
tetradic
#602D88 #88322D #55882D #2D8288
square
#602D88 #88322D #55882D #2D8288
split-complementary
#602D88 #82882D #2D8832
monochromatic
#1F0F2C #401E5A #602D88 #803CB6 #9E64CC

Accessibility & contrast

On white

9.42
#602D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#602D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D88
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D88#FFFFFF#000000##FFFFFF
##602D881.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#594056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602d88;
/* rgb */ color: rgb(96, 45, 136);
/* oklch */ color: oklch(41.2% 0.148 306.8);
Tailwind
colors: {
  custom: {
    50: '#9169ab',
    500: '#602d88',
    950: '#000000',
  },
}
SCSS
$custom: #602d88;
$custom-light: #9169ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602d88",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 273.626,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41212,
    "c": 0.14773,
    "h": 306.8
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#602D88
secondary
#83B25F
accent
#DA4E8B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602D88

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

Preview Lab → · Contrast checker → · Palette generator →

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