#602AA2#602AA2

#602AA2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.181 H 299.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#602AA2
RGBrgb(96, 42, 162)
HSLhsl(267, 59%, 40%)
HSVhsv(267, 74%, 64%)
CMYKcmyk(40.7%, 74.1%, 0%, 36.5%)
CIE-LABlab(31.23, 48.43, -55.35)
CIE-LCHlch(31.23, 73.55, 311.18°)
OKLaboklab(42.89% 0.0877 -0.1582)
OKLCHoklch(42.89% 0.181 299)
XYZxyz(12.1718, 6.7512, 34.8373)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602AA2 #6CA22A
analogous
#2A30A2 #602AA2 #9C2AA2
triadic
#602AA2 #A2602A #2AA260
tetradic
#602AA2 #A22A30 #6CA22A #2AA29C
square
#602AA2 #A22A30 #6CA22A #2AA29C
split-complementary
#602AA2 #A29C2A #30A22A
monochromatic
#261141 #431D71 #602AA2 #7D3DCD #9E6DD9

Accessibility & contrast

On white

8.94
#602AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#602AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602AA2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602AA2#FFFFFF#000000##FFFFFF
##602AA21.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#504864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #602aa2;
/* rgb */ color: rgb(96, 42, 162);
/* oklch */ color: oklch(42.9% 0.181 299.0);
Tailwind
colors: {
  custom: {
    50: '#9369be',
    500: '#602aa2',
    950: '#000000',
  },
}
SCSS
$custom: #602aa2;
$custom-light: #9369be;
$custom-dark: #000000;
JSON
{
  "hex": "#602aa2",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 267,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.18082,
    "h": 299
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#602AA2
secondary
#98C068
accent
#E2469C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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