#602995#602995

#602995 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.168 H 303.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#602995
RGBrgb(96, 41, 149)
HSLhsl(271, 57%, 37%)
HSVhsv(271, 72%, 58%)
CMYKcmyk(35.6%, 72.5%, 0%, 41.6%)
CIE-LABlab(30.02, 45.61, -49.42)
CIE-LCHlch(30.02, 67.25, 312.71°)
OKLaboklab(41.7% 0.0913 -0.1407)
OKLCHoklch(41.7% 0.168 303)
XYZxyz(11.0404, 6.2426, 29.0512)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602995 #5E9529
analogous
#2A2995 #602995 #952994
triadic
#602995 #956029 #299560
tetradic
#602995 #952A29 #5E9529 #299495
square
#602995 #952A29 #5E9529 #299495
split-complementary
#602995 #949529 #29952A
monochromatic
#220F35 #411C65 #602995 #7F36C5 #9D64D4

Accessibility & contrast

On white

9.34
#602995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#602995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602995
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602995#FFFFFF#000000##FFFFFF
##6029951.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#55435C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602995;
/* rgb */ color: rgb(96, 41, 149);
/* oklch */ color: oklch(41.7% 0.168 303.0);
Tailwind
colors: {
  custom: {
    50: '#9268b5',
    500: '#602995',
    950: '#000000',
  },
}
SCSS
$custom: #602995;
$custom-light: #9268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602995",
  "rgb": {
    "r": 96,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 270.556,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.16772,
    "h": 303
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#602995
secondary
#8CBA60
accent
#E04892
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602995

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

Preview Lab → · Contrast checker → · Palette generator →

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