#602F87#602F87

#602F87 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.144 H 306.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#602F87
RGBrgb(96, 47, 135)
HSLhsl(273, 48%, 36%)
HSVhsv(273, 65%, 53%)
CMYKcmyk(28.9%, 65.2%, 0%, 47.1%)
CIE-LABlab(30.08, 39.08, -40.67)
CIE-LCHlch(30.08, 56.40, 313.86°)
OKLaboklab(41.42% 0.086 -0.115)
OKLCHoklch(41.42% 0.144 306.8)
XYZxyz(10.2126, 6.2692, 23.5890)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602F87 #56872F
analogous
#342F87 #602F87 #872F82
triadic
#602F87 #87602F #2F8760
tetradic
#602F87 #87342F #56872F #2F8287
square
#602F87 #87342F #56872F #2F8287
split-complementary
#602F87 #82872F #2F8734
monochromatic
#1F0F2C #401F5A #602F87 #803FB4 #9E66CA

Accessibility & contrast

On white

9.32
#602F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#602F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602F87
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602F87#FFFFFF#000000##FFFFFF
##602F871.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#5A4156
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602f87;
/* rgb */ color: rgb(96, 47, 135);
/* oklch */ color: oklch(41.4% 0.144 306.8);
Tailwind
colors: {
  custom: {
    50: '#906baa',
    500: '#602f87',
    950: '#000000',
  },
}
SCSS
$custom: #602f87;
$custom-light: #906baa;
$custom-dark: #000000;
JSON
{
  "hex": "#602f87",
  "rgb": {
    "r": 96,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 273.409,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.14363,
    "h": 306.8
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#602F87
secondary
#84B161
accent
#D8508C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602F87

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

Preview Lab → · Contrast checker → · Palette generator →

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