#210D56#210D56

#210D56 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.8% C 0.120 H 286.3°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#210D56
RGBrgb(33, 13, 86)
HSLhsl(256, 74%, 19%)
HSVhsv(256, 85%, 34%)
CMYKcmyk(61.6%, 84.9%, 0%, 66.3%)
CIE-LABlab(11.16, 30.66, -40.05)
CIE-LCHlch(11.16, 50.43, 307.44°)
OKLaboklab(24.8% 0.0337 -0.1153)
OKLCHoklch(24.8% 0.12 286.3)
XYZxyz(2.4503, 1.2829, 8.9208)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D56 #42560D
analogous
#0D1E56 #210D56 #460D56
triadic
#210D56 #56210D #0D5621
tetradic
#210D56 #560D1E #42560D #0D5646
square
#210D56 #560D1E #42560D #0D5646
split-complementary
#210D56 #56460D #1E560D
monochromatic
#0A041B #0D0521 #210D56 #35158B #4A1DC0

Accessibility & contrast

On white

16.71
#210D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#210D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D56
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D56#FFFFFF#000000##FFFFFF
##210D561.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#072231
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #210d56;
/* rgb */ color: rgb(33, 13, 86);
/* oklch */ color: oklch(24.8% 0.120 286.3);
Tailwind
colors: {
  custom: {
    50: '#644f86',
    500: '#210d56',
    950: '#000000',
  },
}
SCSS
$custom: #210d56;
$custom-light: #644f86;
$custom-dark: #000000;
JSON
{
  "hex": "#210d56",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 256.438,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24795,
    "c": 0.12015,
    "h": 286.3
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#210D56
secondary
#76912E
accent
#F037BE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210D56

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

Preview Lab → · Contrast checker → · Palette generator →

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