#201730#201730

#201730 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.9% C 0.048 H 299.2°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#201730
RGBrgb(32, 23, 48)
HSLhsl(262, 35%, 14%)
HSVhsv(262, 52%, 19%)
CMYKcmyk(33.3%, 52.1%, 0%, 81.2%)
CIE-LABlab(10.06, 11.28, -15.07)
CIE-LCHlch(10.06, 18.82, 306.82°)
OKLaboklab(22.92% 0.0235 -0.0422)
OKLCHoklch(22.92% 0.048 299.2)
XYZxyz(1.4354, 1.1333, 2.9388)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201730 #273017
analogous
#171B30 #201730 #2D1730
triadic
#201730 #302017 #173020
tetradic
#201730 #30171B #273017 #17302D
square
#201730 #30171B #273017 #17302D
split-complementary
#201730 #302D17 #1B3017
monochromatic
#0E0A15 #0E0A15 #201730 #3C2B59 #573F83

Accessibility & contrast

On white

17.12
#201730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201730
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201730#FFFFFF#000000##FFFFFF
##2017301.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C31
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#1D1B21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201730;
/* rgb */ color: rgb(32, 23, 48);
/* oklch */ color: oklch(22.9% 0.048 299.2);
Tailwind
colors: {
  custom: {
    50: '#5c5468',
    500: '#201730',
    950: '#000000',
  },
}
SCSS
$custom: #201730;
$custom-light: #5c5468;
$custom-dark: #000000;
JSON
{
  "hex": "#201730",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 261.6,
    "s": 35.211,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22916,
    "c": 0.04828,
    "h": 299.2
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#201730
secondary
#57653D
accent
#CB5DA3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201730

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

Preview Lab → · Contrast checker → · Palette generator →

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