#602EA4#602EA4

#602EA4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.178 H 297.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#602EA4
RGBrgb(96, 46, 164)
HSLhsl(265, 56%, 41%)
HSVhsv(265, 72%, 64%)
CMYKcmyk(41.5%, 72%, 0%, 35.7%)
CIE-LABlab(32.08, 47.03, -55.18)
CIE-LCHlch(32.08, 72.50, 310.44°)
OKLaboklab(43.54% 0.0834 -0.1577)
OKLCHoklch(43.54% 0.178 297.9)
XYZxyz(12.5000, 7.1209, 35.8307)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602EA4 #72A42E
analogous
#2E37A4 #602EA4 #9B2EA4
triadic
#602EA4 #A4602E #2EA460
tetradic
#602EA4 #A42E37 #72A42E #2EA49B
square
#602EA4 #A42E37 #72A42E #2EA49B
split-complementary
#602EA4 #A49B2E #37A42E
monochromatic
#281344 #442174 #602EA4 #7D45CB #9F74D8

Accessibility & contrast

On white

8.66
#602EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#602EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602EA4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602EA4#FFFFFF#000000##FFFFFF
##602EA41.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#4F4B66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602ea4;
/* rgb */ color: rgb(96, 46, 164);
/* oklch */ color: oklch(43.5% 0.178 297.9);
Tailwind
colors: {
  custom: {
    50: '#936bc0',
    500: '#602ea4',
    950: '#000000',
  },
}
SCSS
$custom: #602ea4;
$custom-light: #936bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#602ea4",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 265.424,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.17835,
    "h": 297.9
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#602EA4
secondary
#9DC06E
accent
#DF489F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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