#602288#602288

#602288 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.162 H 308.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#602288
RGBrgb(96, 34, 136)
HSLhsl(276, 60%, 33%)
HSVhsv(276, 75%, 53%)
CMYKcmyk(29.4%, 75%, 0%, 46.7%)
CIE-LABlab(27.87, 45.68, -44.86)
CIE-LCHlch(27.87, 64.03, 315.52°)
OKLaboklab(39.86% 0.1009 -0.1273)
OKLCHoklch(39.86% 0.162 308.4)
XYZxyz(9.8389, 5.4086, 23.8134)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602288 #4A8822
analogous
#2D2288 #602288 #88227D
triadic
#602288 #886022 #228860
tetradic
#602288 #882D22 #4A8822 #227D88
square
#602288 #882D22 #4A8822 #227D88
split-complementary
#602288 #7D8822 #22882D
monochromatic
#1B0A26 #3D1657 #602288 #832EB9 #A051D3

Accessibility & contrast

On white

10.09
#602288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#602288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602288
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602288#FFFFFF#000000##FFFFFF
##6022881.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#024286
Tritanopia (blue-blind)
#5A3A53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #602288;
/* rgb */ color: rgb(96, 34, 136);
/* oklch */ color: oklch(39.9% 0.162 308.4);
Tailwind
colors: {
  custom: {
    50: '#9163ab',
    500: '#602288',
    950: '#000000',
  },
}
SCSS
$custom: #602288;
$custom-light: #9163ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602288",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 276.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39856,
    "c": 0.1624,
    "h": 308.4
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#602288
secondary
#78B74F
accent
#E34583
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602288

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

Preview Lab → · Contrast checker → · Palette generator →

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