#201734#201734

#201734 is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.2% C 0.055 H 296.2°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#201734
RGBrgb(32, 23, 52)
HSLhsl(259, 39%, 15%)
HSVhsv(259, 56%, 20%)
CMYKcmyk(38.5%, 55.8%, 0%, 79.6%)
CIE-LABlab(10.32, 12.58, -17.56)
CIE-LCHlch(10.32, 21.60, 305.61°)
OKLaboklab(23.2% 0.0243 -0.0494)
OKLCHoklch(23.2% 0.055 296.2)
XYZxyz(1.5217, 1.1678, 3.3934)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201734 #2B3417
analogous
#171D34 #201734 #2F1734
triadic
#201734 #342017 #173420
tetradic
#201734 #34171D #2B3417 #17342F
square
#201734 #34171D #2B3417 #17342F
split-complementary
#201734 #342F17 #1D3417
monochromatic
#0D0915 #0D0915 #201734 #3A2A5E #543D89

Accessibility & contrast

On white

17.02
#201734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201734
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201734#FFFFFF#000000##FFFFFF
##2017341.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C35
Deuteranopia (green-blind)
#0F1C33
Tritanopia (blue-blind)
#1C1C23
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201734;
/* rgb */ color: rgb(32, 23, 52);
/* oklch */ color: oklch(23.2% 0.055 296.2);
Tailwind
colors: {
  custom: {
    50: '#5c546b',
    500: '#201734',
    950: '#000000',
  },
}
SCSS
$custom: #201734;
$custom-light: #5c546b;
$custom-dark: #000000;
JSON
{
  "hex": "#201734",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 258.621,
    "s": 38.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23198,
    "c": 0.05507,
    "h": 296.2
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#201734
secondary
#5C6A3D
accent
#CF59AA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201734

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

Preview Lab → · Contrast checker → · Palette generator →

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