#602180#602180

#602180 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.155 H 311.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#602180
RGBrgb(96, 33, 128)
HSLhsl(280, 59%, 32%)
HSVhsv(280, 74%, 50%)
CMYKcmyk(25%, 74.2%, 0%, 49.8%)
CIE-LABlab(27.11, 44.27, -41.08)
CIE-LCHlch(27.11, 60.40, 317.14°)
OKLaboklab(39.13% 0.1032 -0.1161)
OKLCHoklch(39.13% 0.155 311.6)
XYZxyz(9.2633, 5.1333, 20.9207)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602180 #418021
analogous
#302180 #602180 #802171
triadic
#602180 #806021 #218060
tetradic
#602180 #803021 #418021 #217180
square
#602180 #803021 #418021 #217180
split-complementary
#602180 #718021 #218030
monochromatic
#17081F #3C144F #602180 #842EB1 #A44BD1

Accessibility & contrast

On white

10.36
#602180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#602180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602180
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602180#FFFFFF#000000##FFFFFF
##6021801.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#14417E
Tritanopia (blue-blind)
#5C364E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #602180;
/* rgb */ color: rgb(96, 33, 128);
/* oklch */ color: oklch(39.1% 0.155 311.6);
Tailwind
colors: {
  custom: {
    50: '#9163a5',
    500: '#602180',
    950: '#000000',
  },
}
SCSS
$custom: #602180;
$custom-light: #9163a5;
$custom-dark: #000000;
JSON
{
  "hex": "#602180",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 279.789,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.15537,
    "h": 311.6
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#602180
secondary
#6DB34A
accent
#E2467A
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #602180

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

Preview Lab → · Contrast checker → · Palette generator →

#602180 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva