#602792#602792

#602792 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.167 H 304.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#602792
RGBrgb(96, 39, 146)
HSLhsl(272, 58%, 36%)
HSVhsv(272, 73%, 57%)
CMYKcmyk(34.2%, 73.3%, 0%, 42.7%)
CIE-LABlab(29.45, 45.81, -48.50)
CIE-LCHlch(29.45, 66.72, 313.37°)
OKLaboklab(41.22% 0.0939 -0.138)
OKLCHoklch(41.22% 0.167 304.2)
XYZxyz(10.7365, 6.0132, 27.7836)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602792 #599227
analogous
#2B2792 #602792 #92278F
triadic
#602792 #926027 #279260
tetradic
#602792 #922B27 #599227 #278F92
square
#602792 #922B27 #599227 #278F92
split-complementary
#602792 #8F9227 #27922B
monochromatic
#200D31 #401A62 #602792 #8034C2 #9E5FD4

Accessibility & contrast

On white

9.53
#602792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#602792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602792
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602792#FFFFFF#000000##FFFFFF
##6027921.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#56415A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602792;
/* rgb */ color: rgb(96, 39, 146);
/* oklch */ color: oklch(41.2% 0.167 304.2);
Tailwind
colors: {
  custom: {
    50: '#9266b3',
    500: '#602792',
    950: '#000000',
  },
}
SCSS
$custom: #602792;
$custom-light: #9266b3;
$custom-dark: #000000;
JSON
{
  "hex": "#602792",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 271.963,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.16691,
    "h": 304.2
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#602792
secondary
#87BA5B
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602792

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

Preview Lab → · Contrast checker → · Palette generator →

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