#602BA8#602BA8

#602BA8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.186 H 297.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#602BA8
RGBrgb(96, 43, 168)
HSLhsl(265, 59%, 41%)
HSVhsv(265, 74%, 66%)
CMYKcmyk(42.9%, 74.4%, 0%, 34.1%)
CIE-LABlab(31.90, 49.51, -57.88)
CIE-LCHlch(31.90, 76.17, 310.54°)
OKLaboklab(43.51% 0.0854 -0.1656)
OKLCHoklch(43.51% 0.186 297.3)
XYZxyz(12.7538, 7.0415, 37.7254)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BA8 #73A82B
analogous
#2B35A8 #602BA8 #9F2BA8
triadic
#602BA8 #A8602B #2BA860
tetradic
#602BA8 #A82B35 #73A82B #2BA89F
square
#602BA8 #A82B35 #73A82B #2BA89F
split-complementary
#602BA8 #A89F2B #35A82B
monochromatic
#281247 #441F77 #602BA8 #7D42CF #9F72DB

Accessibility & contrast

On white

8.72
#602BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#602BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602BA8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BA8#FFFFFF#000000##FFFFFF
##602BA81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#4D4B67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602ba8;
/* rgb */ color: rgb(96, 43, 168);
/* oklch */ color: oklch(43.5% 0.186 297.3);
Tailwind
colors: {
  custom: {
    50: '#946ac3',
    500: '#602ba8',
    950: '#000000',
  },
}
SCSS
$custom: #602ba8;
$custom-light: #946ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#602ba8",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 265.44,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.1863,
    "h": 297.3
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#602BA8
secondary
#9EC26C
accent
#E245A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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