#201845#201845

#201845 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.081 H 287.1°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#201845
RGBrgb(32, 24, 69)
HSLhsl(251, 48%, 18%)
HSVhsv(251, 65%, 27%)
CMYKcmyk(53.6%, 65.2%, 0%, 72.9%)
CIE-LABlab(11.89, 17.73, -27.13)
CIE-LCHlch(11.89, 32.41, 303.17°)
OKLaboklab(24.78% 0.0238 -0.0775)
OKLCHoklch(24.78% 0.081 287.1)
XYZxyz(1.9962, 1.3899, 5.7922)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201845 #3D4518
analogous
#182645 #201845 #361845
triadic
#201845 #452018 #184520
tetradic
#201845 #451826 #3D4518 #184536
square
#201845 #451826 #3D4518 #184536
split-complementary
#201845 #453618 #264518
monochromatic
#0B0817 #0B0818 #201845 #352872 #4A38A0

Accessibility & contrast

On white

16.43
#201845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201845
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201845#FFFFFF#000000##FFFFFF
##2018451.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#14222B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201845;
/* rgb */ color: rgb(32, 24, 69);
/* oklch */ color: oklch(24.8% 0.081 287.1);
Tailwind
colors: {
  custom: {
    50: '#5f5579',
    500: '#201845',
    950: '#000000',
  },
}
SCSS
$custom: #201845;
$custom-light: #5f5579;
$custom-dark: #000000;
JSON
{
  "hex": "#201845",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 250.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2478,
    "c": 0.08109,
    "h": 287.1
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#201845
secondary
#717C3D
accent
#D850C0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050309
muted
#79787B

Preview Lab

Preview with #201845

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

Preview Lab → · Contrast checker → · Palette generator →

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