#602A94#602A94

#602A94 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.165 H 303.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#602A94
RGBrgb(96, 42, 148)
HSLhsl(271, 56%, 37%)
HSVhsv(271, 72%, 58%)
CMYKcmyk(35.1%, 71.6%, 0%, 42%)
CIE-LABlab(30.11, 44.88, -48.65)
CIE-LCHlch(30.11, 66.19, 312.69°)
OKLaboklab(41.74% 0.0904 -0.1384)
OKLCHoklch(41.74% 0.165 303.1)
XYZxyz(10.9959, 6.2808, 28.6443)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A94 #5E942A
analogous
#2B2A94 #602A94 #942A93
triadic
#602A94 #94602A #2A9460
tetradic
#602A94 #942B2A #5E942A #2A9394
square
#602A94 #942B2A #5E942A #2A9394
split-complementary
#602A94 #93942A #2A942B
monochromatic
#220F35 #411C64 #602A94 #7F38C4 #9D65D3

Accessibility & contrast

On white

9.31
#602A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#602A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A94
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A94#FFFFFF#000000##FFFFFF
##602A941.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#56435C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602a94;
/* rgb */ color: rgb(96, 42, 148);
/* oklch */ color: oklch(41.7% 0.165 303.1);
Tailwind
colors: {
  custom: {
    50: '#9268b4',
    500: '#602a94',
    950: '#000000',
  },
}
SCSS
$custom: #602a94;
$custom-light: #9268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#602a94",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 270.566,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.16534,
    "h": 303.1
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#602A94
secondary
#8CB960
accent
#DF4992
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A94

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

Preview Lab → · Contrast checker → · Palette generator →

#602A94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva