#602286#602286

#602286 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.160 H 309.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#602286
RGBrgb(96, 34, 134)
HSLhsl(277, 60%, 33%)
HSVhsv(277, 75%, 53%)
CMYKcmyk(28.4%, 74.6%, 0%, 47.5%)
CIE-LABlab(27.72, 45.21, -43.86)
CIE-LCHlch(27.72, 62.99, 315.87°)
OKLaboklab(39.7% 0.1012 -0.1243)
OKLCHoklch(39.7% 0.16 309.1)
XYZxyz(9.6981, 5.3523, 23.0718)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602286 #488622
analogous
#2E2286 #602286 #86227A
triadic
#602286 #866022 #228660
tetradic
#602286 #862E22 #488622 #227A86
square
#602286 #862E22 #488622 #227A86
split-complementary
#602286 #7A8622 #22862E
monochromatic
#1A0924 #3D1655 #602286 #832EB7 #A150D3

Accessibility & contrast

On white

10.14
#602286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#602286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602286
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602286#FFFFFF#000000##FFFFFF
##6022861.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#084284
Tritanopia (blue-blind)
#5A3952
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #602286;
/* rgb */ color: rgb(96, 34, 134);
/* oklch */ color: oklch(39.7% 0.160 309.1);
Tailwind
colors: {
  custom: {
    50: '#9163aa',
    500: '#602286',
    950: '#000000',
  },
}
SCSS
$custom: #602286;
$custom-light: #9163aa;
$custom-dark: #000000;
JSON
{
  "hex": "#602286",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 277.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.16032,
    "h": 309.1
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#602286
secondary
#75B64E
accent
#E34581
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602286

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

Preview Lab → · Contrast checker → · Palette generator →

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