#201241#201241

#201241 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.085 H 292.2°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#201241
RGBrgb(32, 18, 65)
HSLhsl(258, 57%, 16%)
HSVhsv(258, 72%, 25%)
CMYKcmyk(50.8%, 72.3%, 0%, 74.5%)
CIE-LABlab(9.96, 20.51, -27.44)
CIE-LCHlch(9.96, 34.26, 306.78°)
OKLaboklab(23.26% 0.0321 -0.0784)
OKLCHoklch(23.26% 0.085 292.2)
XYZxyz(1.7658, 1.1213, 5.1234)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201241 #334112
analogous
#121C41 #201241 #381241
triadic
#201241 #412012 #124120
tetradic
#201241 #41121C #334112 #124138
square
#201241 #41121C #334112 #124138
split-complementary
#201241 #413812 #1C4112
monochromatic
#0C0718 #0C0718 #201241 #381F71 #4F2DA1

Accessibility & contrast

On white

17.15
#201241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#201241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201241
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201241#FFFFFF#000000##FFFFFF
##2012411.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#161D27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201241;
/* rgb */ color: rgb(32, 18, 65);
/* oklch */ color: oklch(23.3% 0.085 292.2);
Tailwind
colors: {
  custom: {
    50: '#5f5076',
    500: '#201241',
    950: '#000000',
  },
}
SCSS
$custom: #201241;
$custom-light: #5f5076;
$custom-dark: #000000;
JSON
{
  "hex": "#201241",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 257.872,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23263,
    "c": 0.08472,
    "h": 292.2
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#201241
secondary
#657A35
accent
#E048B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #201241

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

Preview Lab → · Contrast checker → · Palette generator →

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