#201846#201846

#201846 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.083 H 286.7°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#201846
RGBrgb(32, 24, 70)
HSLhsl(250, 49%, 18%)
HSVhsv(250, 66%, 27%)
CMYKcmyk(54.3%, 65.7%, 0%, 72.5%)
CIE-LABlab(11.97, 18.09, -27.69)
CIE-LCHlch(11.97, 33.08, 303.16°)
OKLaboklab(24.87% 0.0238 -0.0792)
OKLCHoklch(24.87% 0.083 286.7)
XYZxyz(2.0275, 1.4024, 5.9570)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201846 #3E4618
analogous
#182746 #201846 #371846
triadic
#201846 #462018 #184620
tetradic
#201846 #461827 #3E4618 #184637
square
#201846 #461827 #3E4618 #184637
split-complementary
#201846 #463718 #274618
monochromatic
#0A0817 #0B0818 #201846 #352874 #4A37A1

Accessibility & contrast

On white

16.40
#201846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201846
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201846#FFFFFF#000000##FFFFFF
##2018461.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#13232C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201846;
/* rgb */ color: rgb(32, 24, 70);
/* oklch */ color: oklch(24.9% 0.083 286.7);
Tailwind
colors: {
  custom: {
    50: '#5f557a',
    500: '#201846',
    950: '#000000',
  },
}
SCSS
$custom: #201846;
$custom-light: #5f557a;
$custom-dark: #000000;
JSON
{
  "hex": "#201846",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 250.435,
    "s": 48.936,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24868,
    "c": 0.08266,
    "h": 286.7
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#201846
secondary
#727D3D
accent
#D84FC1
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#050309
muted
#79787B

Preview Lab

Preview with #201846

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

Preview Lab → · Contrast checker → · Palette generator →

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