#210B56#210B56

#210B56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.6% C 0.122 H 286.7°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#210B56
RGBrgb(33, 11, 86)
HSLhsl(258, 77%, 19%)
HSVhsv(258, 87%, 34%)
CMYKcmyk(61.6%, 87.2%, 0%, 66.3%)
CIE-LABlab(10.81, 31.66, -40.62)
CIE-LCHlch(10.81, 51.50, 307.94°)
OKLaboklab(24.56% 0.0352 -0.117)
OKLCHoklch(24.56% 0.122 286.7)
XYZxyz(2.4261, 1.2344, 8.9127)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210B56 #40560B
analogous
#0B1B56 #210B56 #470B56
triadic
#210B56 #56210B #0B5621
tetradic
#210B56 #560B1B #40560B #0B5647
square
#210B56 #560B1B #40560B #0B5647
split-complementary
#210B56 #56470B #1B560B
monochromatic
#0A031B #0C0420 #210B56 #36128C #4B19C3

Accessibility & contrast

On white

16.84
#210B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210B56
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210B56#FFFFFF#000000##FFFFFF
##210B561.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#072231
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210b56;
/* rgb */ color: rgb(33, 11, 86);
/* oklch */ color: oklch(24.6% 0.122 286.7);
Tailwind
colors: {
  custom: {
    50: '#644e87',
    500: '#210b56',
    950: '#000000',
  },
}
SCSS
$custom: #210b56;
$custom-light: #644e87;
$custom-dark: #000000;
JSON
{
  "hex": "#210b56",
  "rgb": {
    "r": 33,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 257.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24555,
    "c": 0.12213,
    "h": 286.7
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#210B56
secondary
#74912B
accent
#F434BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #210B56

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

Preview Lab → · Contrast checker → · Palette generator →

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