#201246#201246

#201246 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.092 H 289.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#201246
RGBrgb(32, 18, 70)
HSLhsl(256, 59%, 17%)
HSVhsv(256, 74%, 27%)
CMYKcmyk(54.3%, 74.3%, 0%, 72.5%)
CIE-LABlab(10.42, 22.21, -30.21)
CIE-LCHlch(10.42, 37.50, 306.33°)
OKLaboklab(23.74% 0.0314 -0.0866)
OKLCHoklch(23.74% 0.092 289.9)
XYZxyz(1.9171, 1.1818, 5.9203)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201246 #384612
analogous
#121E46 #201246 #3A1246
triadic
#201246 #462012 #124620
tetradic
#201246 #46121E #384612 #12463A
square
#201246 #46121E #384612 #12463A
split-complementary
#201246 #463A12 #1E4612
monochromatic
#0B0618 #0B0618 #201246 #361F77 #4D2BA7

Accessibility & contrast

On white

16.98
#201246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201246
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201246#FFFFFF#000000##FFFFFF
##2012461.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#131F2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201246;
/* rgb */ color: rgb(32, 18, 70);
/* oklch */ color: oklch(23.7% 0.092 289.9);
Tailwind
colors: {
  custom: {
    50: '#60517a',
    500: '#201246',
    950: '#000000',
  },
}
SCSS
$custom: #201246;
$custom-light: #60517a;
$custom-dark: #000000;
JSON
{
  "hex": "#201246",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 256.154,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23739,
    "c": 0.09209,
    "h": 289.9
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#201246
secondary
#6B7F35
accent
#E246B8
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #201246

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

Preview Lab → · Contrast checker → · Palette generator →

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