#602895#602895

#602895 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.169 H 303.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#602895
RGBrgb(96, 40, 149)
HSLhsl(271, 58%, 37%)
HSVhsv(271, 73%, 58%)
CMYKcmyk(35.6%, 73.2%, 0%, 41.6%)
CIE-LABlab(29.85, 46.09, -49.69)
CIE-LCHlch(29.85, 67.77, 312.85°)
OKLaboklab(41.58% 0.0923 -0.1415)
OKLCHoklch(41.58% 0.169 303.1)
XYZxyz(11.0062, 6.1743, 29.0399)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602895 #5D9528
analogous
#2A2895 #602895 #952894
triadic
#602895 #956028 #289560
tetradic
#602895 #952A28 #5D9528 #289495
square
#602895 #952A28 #5D9528 #289495
split-complementary
#602895 #949528 #28952A
monochromatic
#220E35 #411B65 #602895 #7F35C5 #9D62D5

Accessibility & contrast

On white

9.40
#602895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602895
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602895#FFFFFF#000000##FFFFFF
##6028951.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#55425C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602895;
/* rgb */ color: rgb(96, 40, 149);
/* oklch */ color: oklch(41.6% 0.169 303.1);
Tailwind
colors: {
  custom: {
    50: '#9267b5',
    500: '#602895',
    950: '#000000',
  },
}
SCSS
$custom: #602895;
$custom-light: #9267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602895",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 270.826,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.16894,
    "h": 303.1
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#602895
secondary
#8BBB5E
accent
#E14792
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602895

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

Preview Lab → · Contrast checker → · Palette generator →

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