#602DAB#602DAB

#602DAB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.187 H 296.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#602DAB
RGBrgb(96, 45, 171)
HSLhsl(264, 58%, 42%)
HSVhsv(264, 74%, 67%)
CMYKcmyk(43.9%, 73.7%, 0%, 32.9%)
CIE-LABlab(32.49, 49.35, -58.73)
CIE-LCHlch(32.49, 76.70, 310.04°)
OKLaboklab(44.01% 0.0828 -0.1681)
OKLCHoklch(44.01% 0.187 296.2)
XYZxyz(13.1110, 7.3036, 39.2391)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602DAB #78AB2D
analogous
#2D39AB #602DAB #9F2DAB
triadic
#602DAB #AB602D #2DAB60
tetradic
#602DAB #AB2D39 #78AB2D #2DAB9F
square
#602DAB #AB2D39 #78AB2D #2DAB9F
split-complementary
#602DAB #AB9F2D #39AB2D
monochromatic
#2A144A #45207B #602DAB #7E47CE #A077DB

Accessibility & contrast

On white

8.53
#602DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#602DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602DAB
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602DAB#FFFFFF#000000##FFFFFF
##602DAB1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#4C4E69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #602dab;
/* rgb */ color: rgb(96, 45, 171);
/* oklch */ color: oklch(44.0% 0.187 296.2);
Tailwind
colors: {
  custom: {
    50: '#946bc5',
    500: '#602dab',
    950: '#000000',
  },
}
SCSS
$custom: #602dab;
$custom-light: #946bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#602dab",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 264.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44007,
    "c": 0.18738,
    "h": 296.2
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#602DAB
secondary
#A2C371
accent
#E246A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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