#201826#201826

#201826 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.5% C 0.029 H 310.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#201826
RGBrgb(32, 24, 38)
HSLhsl(274, 23%, 12%)
HSVhsv(274, 37%, 15%)
CMYKcmyk(15.8%, 36.8%, 0%, 85.1%)
CIE-LABlab(9.80, 7.50, -8.10)
CIE-LCHlch(9.80, 11.04, 312.82°)
OKLaboklab(22.54% 0.0187 -0.0221)
OKLCHoklch(22.54% 0.029 310.2)
XYZxyz(1.2721, 1.1003, 1.9787)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201826 #1E2618
analogous
#191826 #201826 #261825
triadic
#201826 #262018 #182620
tetradic
#201826 #261918 #1E2618 #182526
square
#201826 #261918 #1E2618 #182526
split-complementary
#201826 #252618 #182619
monochromatic
#100C13 #100C13 #201826 #40304C #5F4771

Accessibility & contrast

On white

17.21
#201826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#201826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201826
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201826#FFFFFF#000000##FFFFFF
##2018261.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B27
Deuteranopia (green-blind)
#171B26
Tritanopia (blue-blind)
#1F1A1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201826;
/* rgb */ color: rgb(32, 24, 38);
/* oklch */ color: oklch(22.5% 0.029 310.2);
Tailwind
colors: {
  custom: {
    50: '#5b5460',
    500: '#201826',
    950: '#000000',
  },
}
SCSS
$custom: #201826;
$custom-light: #5b5460;
$custom-dark: #000000;
JSON
{
  "hex": "#201826",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 38
  },
  "hsl": {
    "h": 274.286,
    "s": 22.581,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22536,
    "c": 0.02899,
    "h": 310.2
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#201826
secondary
#4B5941
accent
#BF698E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201826

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

Preview Lab → · Contrast checker → · Palette generator →

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