#201843#201843

#201843 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.6% C 0.078 H 287.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#201843
RGBrgb(32, 24, 67)
HSLhsl(251, 47%, 18%)
HSVhsv(251, 64%, 26%)
CMYKcmyk(52.2%, 64.2%, 0%, 73.7%)
CIE-LABlab(11.73, 17.02, -26.00)
CIE-LCHlch(11.73, 31.07, 303.21°)
OKLaboklab(24.61% 0.0239 -0.0742)
OKLCHoklch(24.61% 0.078 287.8)
XYZxyz(1.9351, 1.3655, 5.4707)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201843 #3B4318
analogous
#182543 #201843 #351843
triadic
#201843 #432018 #184320
tetradic
#201843 #431825 #3B4318 #184335
square
#201843 #431825 #3B4318 #184335
split-complementary
#201843 #433518 #254318
monochromatic
#0B0817 #0B0817 #201843 #362870 #4B389D

Accessibility & contrast

On white

16.49
#201843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#201843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201843
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201843#FFFFFF#000000##FFFFFF
##2018431.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012044
Deuteranopia (green-blind)
#011E42
Tritanopia (blue-blind)
#15222A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201843;
/* rgb */ color: rgb(32, 24, 67);
/* oklch */ color: oklch(24.6% 0.078 287.8);
Tailwind
colors: {
  custom: {
    50: '#5f5577',
    500: '#201843',
    950: '#000000',
  },
}
SCSS
$custom: #201843;
$custom-light: #5f5577;
$custom-dark: #000000;
JSON
{
  "hex": "#201843",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 251.163,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24607,
    "c": 0.07791,
    "h": 287.8
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#201843
secondary
#6E7A3D
accent
#D751BE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050309
muted
#79787B

Preview Lab

Preview with #201843

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

Preview Lab → · Contrast checker → · Palette generator →

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