#602E8D#602E8D

#602E8D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.152 H 304.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#602E8D
RGBrgb(96, 46, 141)
HSLhsl(272, 51%, 37%)
HSVhsv(272, 67%, 55%)
CMYKcmyk(31.9%, 67.4%, 0%, 44.7%)
CIE-LABlab(30.31, 41.11, -44.01)
CIE-LCHlch(30.31, 60.22, 313.04°)
OKLaboklab(41.72% 0.0868 -0.1248)
OKLCHoklch(41.72% 0.152 304.8)
XYZxyz(10.6075, 6.3639, 25.8637)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E8D #5B8D2E
analogous
#312E8D #602E8D #8D2E8B
triadic
#602E8D #8D602E #2E8D60
tetradic
#602E8D #8D312E #5B8D2E #2E8B8D
square
#602E8D #8D312E #5B8D2E #2E8B8D
split-complementary
#602E8D #8B8D2E #2E8D31
monochromatic
#211031 #411F5F #602E8D #7F3DBB #9D68CE

Accessibility & contrast

On white

9.24
#602E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#602E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E8D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E8D#FFFFFF#000000##FFFFFF
##602E8D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#584359
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602e8d;
/* rgb */ color: rgb(96, 46, 141);
/* oklch */ color: oklch(41.7% 0.152 304.8);
Tailwind
colors: {
  custom: {
    50: '#916aaf',
    500: '#602e8d',
    950: '#000000',
  },
}
SCSS
$custom: #602e8d;
$custom-light: #916aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#602e8d",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 271.579,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.15204,
    "h": 304.8
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#602E8D
secondary
#89B562
accent
#DA4E90
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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