#201848#201848

#201848 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.086 H 286.1°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#201848
RGBrgb(32, 24, 72)
HSLhsl(250, 50%, 19%)
HSVhsv(250, 67%, 28%)
CMYKcmyk(55.6%, 66.7%, 0%, 71.8%)
CIE-LABlab(12.14, 18.81, -28.81)
CIE-LCHlch(12.14, 34.41, 303.14°)
OKLaboklab(25.05% 0.0237 -0.0824)
OKLCHoklch(25.05% 0.086 286.1)
XYZxyz(2.0917, 1.4281, 6.2951)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201848 #404818
analogous
#182848 #201848 #381848
triadic
#201848 #482018 #184820
tetradic
#201848 #481828 #404818 #184838
square
#201848 #481828 #404818 #184838
split-complementary
#201848 #483818 #284818
monochromatic
#0A0817 #0C091A #201848 #342776 #4937A4

Accessibility & contrast

On white

16.33
#201848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#201848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201848
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201848#FFFFFF#000000##FFFFFF
##2018481.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#12232D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201848;
/* rgb */ color: rgb(32, 24, 72);
/* oklch */ color: oklch(25.0% 0.086 286.1);
Tailwind
colors: {
  custom: {
    50: '#60557b',
    500: '#201848',
    950: '#000000',
  },
}
SCSS
$custom: #201848;
$custom-light: #60557b;
$custom-dark: #000000;
JSON
{
  "hex": "#201848",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 250,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25047,
    "c": 0.0858,
    "h": 286.1
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#201848
secondary
#747F3D
accent
#DA4EC2
background
#F5F4F7
surface
#EAE8EE
border
#C6C4C9
text
#050309
muted
#79787B

Preview Lab

Preview with #201848

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

Preview Lab → · Contrast checker → · Palette generator →

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