#602795#602795

#602795 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.170 H 303.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#602795
RGBrgb(96, 39, 149)
HSLhsl(271, 59%, 37%)
HSVhsv(271, 74%, 58%)
CMYKcmyk(35.6%, 73.8%, 0%, 41.6%)
CIE-LABlab(29.68, 46.55, -49.96)
CIE-LCHlch(29.68, 68.29, 312.98°)
OKLaboklab(41.46% 0.0933 -0.1423)
OKLCHoklch(41.46% 0.17 303.3)
XYZxyz(10.9729, 6.1078, 29.0288)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602795 #5C9527
analogous
#292795 #602795 #952793
triadic
#602795 #956027 #279560
tetradic
#602795 #952927 #5C9527 #279395
square
#602795 #952927 #5C9527 #279395
split-complementary
#602795 #939527 #279529
monochromatic
#210E34 #411A64 #602795 #7F34C6 #9D61D6

Accessibility & contrast

On white

9.45
#602795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#602795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602795
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602795#FFFFFF#000000##FFFFFF
##6027951.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.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: #602795;
/* rgb */ color: rgb(96, 39, 149);
/* oklch */ color: oklch(41.5% 0.170 303.3);
Tailwind
colors: {
  custom: {
    50: '#9267b5',
    500: '#602795',
    950: '#000000',
  },
}
SCSS
$custom: #602795;
$custom-light: #9267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602795",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 271.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.17016,
    "h": 303.3
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#602795
secondary
#8ABB5D
accent
#E24691
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602795

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

Preview Lab → · Contrast checker → · Palette generator →

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