#602E8A#602E8A

#602E8A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.149 H 305.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#602E8A
RGBrgb(96, 46, 138)
HSLhsl(273, 50%, 36%)
HSVhsv(273, 67%, 54%)
CMYKcmyk(30.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(30.10, 40.35, -42.50)
CIE-LCHlch(30.10, 58.61, 313.51°)
OKLaboklab(41.5% 0.0871 -0.1204)
OKLCHoklch(41.5% 0.149 305.9)
XYZxyz(10.3873, 6.2759, 24.7040)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E8A #588A2E
analogous
#322E8A #602E8A #8A2E86
triadic
#602E8A #8A602E #2E8A60
tetradic
#602E8A #8A322E #588A2E #2E868A
square
#602E8A #8A322E #588A2E #2E868A
split-complementary
#602E8A #868A2E #2E8A32
monochromatic
#200F2E #401F5C #602E8A #803DB8 #9E66CC

Accessibility & contrast

On white

9.31
#602E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#602E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E8A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E8A#FFFFFF#000000##FFFFFF
##602E8A1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#594258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602e8a;
/* rgb */ color: rgb(96, 46, 138);
/* oklch */ color: oklch(41.5% 0.149 305.9);
Tailwind
colors: {
  custom: {
    50: '#916aad',
    500: '#602e8a',
    950: '#000000',
  },
}
SCSS
$custom: #602e8a;
$custom-light: #916aad;
$custom-dark: #000000;
JSON
{
  "hex": "#602e8a",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 272.609,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41496,
    "c": 0.14858,
    "h": 305.9
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#602E8A
secondary
#86B361
accent
#DA4E8E
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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