#602E8F#602E8F

#602E8F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.154 H 304.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#602E8F
RGBrgb(96, 46, 143)
HSLhsl(271, 51%, 37%)
HSVhsv(271, 68%, 56%)
CMYKcmyk(32.9%, 67.8%, 0%, 43.9%)
CIE-LABlab(30.46, 41.61, -45.01)
CIE-LCHlch(30.46, 61.30, 312.75°)
OKLaboklab(41.87% 0.0866 -0.1278)
OKLCHoklch(41.87% 0.154 304.1)
XYZxyz(10.7577, 6.4240, 26.6545)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E8F #5D8F2E
analogous
#302E8F #602E8F #8F2E8E
triadic
#602E8F #8F602E #2E8F60
tetradic
#602E8F #8F302E #5D8F2E #2E8E8F
square
#602E8F #8F302E #5D8F2E #2E8E8F
split-complementary
#602E8F #8E8F2E #2E8F30
monochromatic
#221032 #411F61 #602E8F #7F3DBD #9D69CF

Accessibility & contrast

On white

9.19
#602E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#602E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E8F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E8F#FFFFFF#000000##FFFFFF
##602E8F1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#57435A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #602e8f;
/* rgb */ color: rgb(96, 46, 143);
/* oklch */ color: oklch(41.9% 0.154 304.1);
Tailwind
colors: {
  custom: {
    50: '#916ab0',
    500: '#602e8f',
    950: '#000000',
  },
}
SCSS
$custom: #602e8f;
$custom-light: #916ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#602e8f",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 270.928,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.15435,
    "h": 304.1
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#602E8F
secondary
#8BB663
accent
#DB4D92
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #602E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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