#602790#602790

#602790 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.165 H 304.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#602790
RGBrgb(96, 39, 144)
HSLhsl(273, 57%, 36%)
HSVhsv(273, 73%, 56%)
CMYKcmyk(33.3%, 72.9%, 0%, 43.5%)
CIE-LABlab(29.29, 45.32, -47.52)
CIE-LCHlch(29.29, 65.67, 313.64°)
OKLaboklab(41.06% 0.0943 -0.1351)
OKLCHoklch(41.06% 0.165 304.9)
XYZxyz(10.5823, 5.9515, 26.9714)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602790 #579027
analogous
#2B2790 #602790 #90278B
triadic
#602790 #906027 #279060
tetradic
#602790 #902B27 #579027 #278B90
square
#602790 #902B27 #579027 #278B90
split-complementary
#602790 #8B9027 #27902B
monochromatic
#200D30 #401A60 #602790 #8034C0 #9E5ED3

Accessibility & contrast

On white

9.59
#602790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#602790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602790
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602790#FFFFFF#000000##FFFFFF
##6027901.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#574059
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602790;
/* rgb */ color: rgb(96, 39, 144);
/* oklch */ color: oklch(41.1% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#9266b1',
    500: '#602790',
    950: '#000000',
  },
}
SCSS
$custom: #602790;
$custom-light: #9266b1;
$custom-dark: #000000;
JSON
{
  "hex": "#602790",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 272.571,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.16474,
    "h": 304.9
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#602790
secondary
#85B95A
accent
#E1478D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602790

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

Preview Lab → · Contrast checker → · Palette generator →

#602790 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva