#602495#602495

#602495 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.174 H 303.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#602495
RGBrgb(96, 36, 149)
HSLhsl(272, 61%, 36%)
HSVhsv(272, 76%, 58%)
CMYKcmyk(35.6%, 75.8%, 0%, 41.6%)
CIE-LABlab(29.21, 47.91, -50.73)
CIE-LCHlch(29.21, 69.78, 313.36°)
OKLaboklab(41.12% 0.0963 -0.1445)
OKLCHoklch(41.12% 0.174 303.7)
XYZxyz(10.8783, 5.9185, 28.9972)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602495 #599524
analogous
#272495 #602495 #952492
triadic
#602495 #956024 #249560
tetradic
#602495 #952724 #599524 #249295
square
#602495 #952724 #599524 #249295
split-complementary
#602495 #929524 #249527
monochromatic
#200C32 #401864 #602495 #8030C6 #9E5CD8

Accessibility & contrast

On white

9.62
#602495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602495
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602495#FFFFFF#000000##FFFFFF
##6024951.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#55405B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602495;
/* rgb */ color: rgb(96, 36, 149);
/* oklch */ color: oklch(41.1% 0.174 303.7);
Tailwind
colors: {
  custom: {
    50: '#9265b5',
    500: '#602495',
    950: '#000000',
  },
}
SCSS
$custom: #602495;
$custom-light: #9265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602495",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 271.858,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41124,
    "c": 0.17367,
    "h": 303.7
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#602495
secondary
#87BC59
accent
#E4448F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602495

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

Preview Lab → · Contrast checker → · Palette generator →

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