#602EA5#602EA5

#602EA5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.179 H 297.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#602EA5
RGBrgb(96, 46, 165)
HSLhsl(265, 56%, 41%)
HSVhsv(265, 72%, 65%)
CMYKcmyk(41.8%, 72.1%, 0%, 35.3%)
CIE-LABlab(32.16, 47.29, -55.65)
CIE-LCHlch(32.16, 73.03, 310.35°)
OKLaboklab(43.62% 0.0832 -0.159)
OKLCHoklch(43.62% 0.179 297.6)
XYZxyz(12.5906, 7.1572, 36.3081)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602EA5 #73A52E
analogous
#2E38A5 #602EA5 #9C2EA5
triadic
#602EA5 #A5602E #2EA560
tetradic
#602EA5 #A52E38 #73A52E #2EA59C
square
#602EA5 #A52E38 #73A52E #2EA59C
split-complementary
#602EA5 #A59C2E #38A52E
monochromatic
#281345 #442175 #602EA5 #7D45CB #9F75D8

Accessibility & contrast

On white

8.64
#602EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#602EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602EA5
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602EA5#FFFFFF#000000##FFFFFF
##602EA51.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#4F4C66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #602ea5;
/* rgb */ color: rgb(96, 46, 165);
/* oklch */ color: oklch(43.6% 0.179 297.6);
Tailwind
colors: {
  custom: {
    50: '#936bc1',
    500: '#602ea5',
    950: '#000000',
  },
}
SCSS
$custom: #602ea5;
$custom-light: #936bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#602ea5",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 265.21,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.17948,
    "h": 297.6
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#602EA5
secondary
#9EC06F
accent
#E048A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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