#602D94#602D94

#602D94 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.161 H 302.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#602D94
RGBrgb(96, 45, 148)
HSLhsl(270, 53%, 38%)
HSVhsv(270, 70%, 58%)
CMYKcmyk(35.1%, 69.6%, 0%, 42%)
CIE-LABlab(30.64, 43.39, -47.78)
CIE-LCHlch(30.64, 64.55, 312.24°)
OKLaboklab(42.12% 0.0871 -0.1359)
OKLCHoklch(42.12% 0.161 302.7)
XYZxyz(11.1063, 6.5017, 28.6811)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D94 #61942D
analogous
#2D2D94 #602D94 #942D94
triadic
#602D94 #94602D #2D9460
tetradic
#602D94 #942D2D #61942D #2D9494
square
#602D94 #942D2D #61942D #2D9494
split-complementary
#602D94 #94942D #2D942D
monochromatic
#231036 #421F65 #602D94 #7E3BC3 #9D6AD2

Accessibility & contrast

On white

9.13
#602D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#602D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D94
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D94#FFFFFF#000000##FFFFFF
##602D941.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#55455D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #602d94;
/* rgb */ color: rgb(96, 45, 148);
/* oklch */ color: oklch(42.1% 0.161 302.7);
Tailwind
colors: {
  custom: {
    50: '#926ab4',
    500: '#602d94',
    950: '#000000',
  },
}
SCSS
$custom: #602d94;
$custom-light: #926ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#602d94",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 269.709,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42121,
    "c": 0.16144,
    "h": 302.7
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#602D94
secondary
#8FB864
accent
#DD4B95
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #602D94

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

Preview Lab → · Contrast checker → · Palette generator →

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