#602E87#602E87

#602E87 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.145 H 307.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#602E87
RGBrgb(96, 46, 135)
HSLhsl(274, 49%, 35%)
HSVhsv(274, 66%, 53%)
CMYKcmyk(28.9%, 65.9%, 0%, 47.1%)
CIE-LABlab(29.89, 39.61, -40.98)
CIE-LCHlch(29.89, 56.99, 314.02°)
OKLaboklab(41.28% 0.0873 -0.1159)
OKLCHoklch(41.28% 0.145 307)
XYZxyz(10.1731, 6.1902, 23.5759)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E87 #55872E
analogous
#342E87 #602E87 #872E81
triadic
#602E87 #87602E #2E8760
tetradic
#602E87 #87342E #55872E #2E8187
square
#602E87 #87342E #55872E #2E8187
split-complementary
#602E87 #81872E #2E8734
monochromatic
#1F0F2C #401E59 #602E87 #803EB5 #9E65CA

Accessibility & contrast

On white

9.38
#602E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#602E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E87
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E87#FFFFFF#000000##FFFFFF
##602E871.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#1B4785
Tritanopia (blue-blind)
#5A4056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602e87;
/* rgb */ color: rgb(96, 46, 135);
/* oklch */ color: oklch(41.3% 0.145 307.0);
Tailwind
colors: {
  custom: {
    50: '#906aaa',
    500: '#602e87',
    950: '#000000',
  },
}
SCSS
$custom: #602e87;
$custom-light: #906aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#602e87",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 273.708,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41277,
    "c": 0.14512,
    "h": 307
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#602E87
secondary
#83B160
accent
#D94F8B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602E87

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

Preview Lab → · Contrast checker → · Palette generator →

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