#201830#201830

#201830 is a very dark, muted violet. Relative luminance 0.012; OKLCH L 23.1% C 0.046 H 298.1°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#201830
RGBrgb(32, 24, 48)
HSLhsl(260, 33%, 14%)
HSVhsv(260, 50%, 19%)
CMYKcmyk(33.3%, 50%, 0%, 81.2%)
CIE-LABlab(10.36, 10.54, -14.59)
CIE-LCHlch(10.36, 18.00, 305.85°)
OKLaboklab(23.15% 0.0217 -0.0408)
OKLCHoklch(23.15% 0.046 298.1)
XYZxyz(1.4557, 1.1737, 2.9456)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201830 #283018
analogous
#181C30 #201830 #2C1830
triadic
#201830 #302018 #183020
tetradic
#201830 #30181C #283018 #18302C
square
#201830 #30181C #283018 #18302C
split-complementary
#201830 #302C18 #1C3018
monochromatic
#0E0A14 #0E0A14 #201830 #3B2C59 #564182

Accessibility & contrast

On white

17.01
#201830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201830
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201830#FFFFFF#000000##FFFFFF
##2018301.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C31
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#1D1C21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201830;
/* rgb */ color: rgb(32, 24, 48);
/* oklch */ color: oklch(23.1% 0.046 298.1);
Tailwind
colors: {
  custom: {
    50: '#5c5468',
    500: '#201830',
    950: '#000000',
  },
}
SCSS
$custom: #201830;
$custom-light: #5c5468;
$custom-dark: #000000;
JSON
{
  "hex": "#201830",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 260,
    "s": 33.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23148,
    "c": 0.0462,
    "h": 298.1
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#201830
secondary
#58653F
accent
#C95EA6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201830

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

Preview Lab → · Contrast checker → · Palette generator →

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