#201834#201834

#201834 is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.4% C 0.053 H 295.2°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#201834
RGBrgb(32, 24, 52)
HSLhsl(257, 37%, 15%)
HSVhsv(257, 54%, 20%)
CMYKcmyk(38.5%, 53.8%, 0%, 79.6%)
CIE-LABlab(10.62, 11.84, -17.09)
CIE-LCHlch(10.62, 20.79, 304.72°)
OKLaboklab(23.42% 0.0226 -0.048)
OKLCHoklch(23.42% 0.053 295.2)
XYZxyz(1.5420, 1.2083, 3.4001)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201834 #2C3418
analogous
#181E34 #201834 #2E1834
triadic
#201834 #342018 #183420
tetradic
#201834 #34181E #2C3418 #18342E
square
#201834 #34181E #2C3418 #18342E
split-complementary
#201834 #342E18 #1E3418
monochromatic
#0D0A15 #0D0A15 #201834 #3A2B5E #543F88

Accessibility & contrast

On white

16.91
#201834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201834
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201834#FFFFFF#000000##FFFFFF
##2018341.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#101C33
Tritanopia (blue-blind)
#1C1D23
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201834;
/* rgb */ color: rgb(32, 24, 52);
/* oklch */ color: oklch(23.4% 0.053 295.2);
Tailwind
colors: {
  custom: {
    50: '#5c546b',
    500: '#201834',
    950: '#000000',
  },
}
SCSS
$custom: #201834;
$custom-light: #5c546b;
$custom-dark: #000000;
JSON
{
  "hex": "#201834",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 257.143,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23424,
    "c": 0.05307,
    "h": 295.2
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#201834
secondary
#5D6A3E
accent
#CD5BAC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201834

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

Preview Lab → · Contrast checker → · Palette generator →

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