#201244#201244

#201244 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.089 H 290.8°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#201244
RGBrgb(32, 18, 68)
HSLhsl(257, 58%, 17%)
HSVhsv(257, 74%, 27%)
CMYKcmyk(52.9%, 73.5%, 0%, 73.3%)
CIE-LABlab(10.24, 21.53, -29.11)
CIE-LCHlch(10.24, 36.21, 306.49°)
OKLaboklab(23.55% 0.0317 -0.0833)
OKLCHoklch(23.55% 0.089 290.8)
XYZxyz(1.8551, 1.1570, 5.5933)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201244 #364412
analogous
#121D44 #201244 #391244
triadic
#201244 #442012 #124420
tetradic
#201244 #44121D #364412 #124439
square
#201244 #44121D #364412 #124439
split-complementary
#201244 #443912 #1D4412
monochromatic
#0B0618 #0B0618 #201244 #371F74 #4E2CA5

Accessibility & contrast

On white

17.05
#201244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#201244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201244
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201244#FFFFFF#000000##FFFFFF
##2012441.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#151E29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201244;
/* rgb */ color: rgb(32, 18, 68);
/* oklch */ color: oklch(23.5% 0.089 290.8);
Tailwind
colors: {
  custom: {
    50: '#5f5078',
    500: '#201244',
    950: '#000000',
  },
}
SCSS
$custom: #201244;
$custom-light: #5f5078;
$custom-dark: #000000;
JSON
{
  "hex": "#201244",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 256.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23546,
    "c": 0.08916,
    "h": 290.8
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#201244
secondary
#697D35
accent
#E146B6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #201244

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

Preview Lab → · Contrast checker → · Palette generator →

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