#602BA1#602BA1

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

Color values

HEX#602BA1
RGBrgb(96, 43, 161)
HSLhsl(267, 58%, 40%)
HSVhsv(267, 73%, 63%)
CMYKcmyk(40.4%, 73.3%, 0%, 36.9%)
CIE-LABlab(31.32, 47.70, -54.61)
CIE-LCHlch(31.32, 72.51, 311.14°)
OKLaboklab(42.92% 0.0869 -0.156)
OKLCHoklch(42.92% 0.179 299.1)
XYZxyz(12.1191, 6.7876, 34.3829)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BA1 #6CA12B
analogous
#2B31A1 #602BA1 #9B2BA1
triadic
#602BA1 #A1602B #2BA160
tetradic
#602BA1 #A12B31 #6CA12B #2BA19B
square
#602BA1 #A12B31 #6CA12B #2BA19B
split-complementary
#602BA1 #A19B2B #31A12B
monochromatic
#261140 #431E71 #602BA1 #7D3ECB #9E6ED8

Accessibility & contrast

On white

8.91
#602BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#602BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602BA1
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BA1#FFFFFF#000000##FFFFFF
##602BA11.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#514963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602ba1;
/* rgb */ color: rgb(96, 43, 161);
/* oklch */ color: oklch(42.9% 0.179 299.1);
Tailwind
colors: {
  custom: {
    50: '#9369be',
    500: '#602ba1',
    950: '#000000',
  },
}
SCSS
$custom: #602ba1;
$custom-light: #9369be;
$custom-dark: #000000;
JSON
{
  "hex": "#602ba1",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 266.949,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.17855,
    "h": 299.1
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#602BA1
secondary
#98BF69
accent
#E1479C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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