#601158#601158

#601158 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.138 H 332.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#601158
RGBrgb(96, 17, 88)
HSLhsl(306, 70%, 22%)
HSVhsv(306, 82%, 38%)
CMYKcmyk(0%, 82.3%, 8.3%, 62.4%)
CIE-LABlab(22.28, 42.44, -22.92)
CIE-LCHlch(22.28, 48.23, 331.63°)
OKLaboklab(34.83% 0.1223 -0.063)
OKLCHoklch(34.83% 0.138 332.8)
XYZxyz(6.7858, 3.5929, 9.5667)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#601158 #116019
analogous
#411160 #601158 #601131
triadic
#601158 #586011 #115860
tetradic
#601158 #604111 #116019 #113160
square
#601158 #604111 #116019 #113160
split-complementary
#601158 #316011 #116041
monochromatic
#1A0518 #2C0828 #601158 #941A88 #C823B7

Accessibility & contrast

On white

12.22
#601158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#601158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #601158
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##601158#FFFFFF#000000##FFFFFF
##6011581.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2E5A
Deuteranopia (green-blind)
#2C3956
Tritanopia (blue-blind)
#651A34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #601158;
/* rgb */ color: rgb(96, 17, 88);
/* oklch */ color: oklch(34.8% 0.138 332.8);
Tailwind
colors: {
  custom: {
    50: '#905a87',
    500: '#601158',
    950: '#000000',
  },
}
SCSS
$custom: #601158;
$custom-light: #905a87;
$custom-dark: #000000;
JSON
{
  "hex": "#601158",
  "rgb": {
    "r": 96,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 306.076,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.13761,
    "h": 332.8
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#601158
secondary
#34993E
accent
#ED4D3B
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #601158

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

Preview Lab → · Contrast checker → · Palette generator →

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