#602894#602894

#602894 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 303.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#602894
RGBrgb(96, 40, 148)
HSLhsl(271, 57%, 37%)
HSVhsv(271, 73%, 58%)
CMYKcmyk(35.1%, 73%, 0%, 42%)
CIE-LABlab(29.77, 45.84, -49.20)
CIE-LCHlch(29.77, 67.25, 312.97°)
OKLaboklab(41.5% 0.0925 -0.1401)
OKLCHoklch(41.5% 0.168 303.4)
XYZxyz(10.9267, 6.1425, 28.6212)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602894 #5C9428
analogous
#2A2894 #602894 #942892
triadic
#602894 #946028 #289460
tetradic
#602894 #942A28 #5C9428 #289294
square
#602894 #942A28 #5C9428 #289294
split-complementary
#602894 #929428 #28942A
monochromatic
#210E34 #411B64 #602894 #7F35C4 #9D62D5

Accessibility & contrast

On white

9.42
#602894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#602894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602894
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602894#FFFFFF#000000##FFFFFF
##6028941.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#56425B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602894;
/* rgb */ color: rgb(96, 40, 148);
/* oklch */ color: oklch(41.5% 0.168 303.4);
Tailwind
colors: {
  custom: {
    50: '#9267b4',
    500: '#602894',
    950: '#000000',
  },
}
SCSS
$custom: #602894;
$custom-light: #9267b4;
$custom-dark: #000000;
JSON
{
  "hex": "#602894",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 271.111,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.16786,
    "h": 303.4
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#602894
secondary
#8ABA5E
accent
#E14791
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602894

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

Preview Lab → · Contrast checker → · Palette generator →

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