#210D54#210D54

#210D54 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.118 H 287.0°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#210D54
RGBrgb(33, 13, 84)
HSLhsl(257, 73%, 19%)
HSVhsv(257, 85%, 33%)
CMYKcmyk(60.7%, 84.5%, 0%, 67.1%)
CIE-LABlab(10.93, 30.02, -39.06)
CIE-LCHlch(10.93, 49.26, 307.55°)
OKLaboklab(24.57% 0.0344 -0.1124)
OKLCHoklch(24.57% 0.118 287)
XYZxyz(2.3709, 1.2511, 8.5024)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D54 #40540D
analogous
#0D1D54 #210D54 #450D54
triadic
#210D54 #54210D #0D5421
tetradic
#210D54 #540D1D #40540D #0D5445
square
#210D54 #540D1D #40540D #0D5445
split-complementary
#210D54 #54450D #1D540D
monochromatic
#0A041A #0C051F #210D54 #361589 #4B1DBE

Accessibility & contrast

On white

16.80
#210D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#210D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D54
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D54#FFFFFF#000000##FFFFFF
##210D541.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001B53
Tritanopia (blue-blind)
#0A2230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210d54;
/* rgb */ color: rgb(33, 13, 84);
/* oklch */ color: oklch(24.6% 0.118 287.0);
Tailwind
colors: {
  custom: {
    50: '#644e85',
    500: '#210d54',
    950: '#000000',
  },
}
SCSS
$custom: #210d54;
$custom-light: #644e85;
$custom-dark: #000000;
JSON
{
  "hex": "#210d54",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 256.901,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.11757,
    "h": 287
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#210D54
secondary
#748F2E
accent
#F038BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210D54

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

Preview Lab → · Contrast checker → · Palette generator →

#210D54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva