#210D45#210D45

#210D45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.098 H 293.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#210D45
RGBrgb(33, 13, 69)
HSLhsl(261, 68%, 16%)
HSVhsv(261, 81%, 27%)
CMYKcmyk(52.2%, 81.2%, 0%, 72.9%)
CIE-LABlab(9.33, 25.21, -31.29)
CIE-LCHlch(9.33, 40.18, 308.85°)
OKLaboklab(22.96% 0.039 -0.0897)
OKLCHoklch(22.96% 0.098 293.5)
XYZxyz(1.8450, 1.0408, 5.7328)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D45 #31450D
analogous
#0D1545 #210D45 #3D0D45
triadic
#210D45 #45210D #0D4521
tetradic
#210D45 #450D15 #31450D #0D453D
square
#210D45 #450D15 #31450D #0D453D
split-complementary
#210D45 #453D0D #15450D
monochromatic
#0C051A #0C051A #210D45 #3A1778 #5220AC

Accessibility & contrast

On white

17.38
#210D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#210D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D45
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D45#FFFFFF#000000##FFFFFF
##210D451.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#161C28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210d45;
/* rgb */ color: rgb(33, 13, 69);
/* oklch */ color: oklch(23.0% 0.098 293.5);
Tailwind
colors: {
  custom: {
    50: '#614d79',
    500: '#210d45',
    950: '#000000',
  },
}
SCSS
$custom: #210d45;
$custom-light: #614d79;
$custom-dark: #000000;
JSON
{
  "hex": "#210d45",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 261.429,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22956,
    "c": 0.09779,
    "h": 293.5
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#210D45
secondary
#63802D
accent
#EB3DAD
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210D45

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

Preview Lab → · Contrast checker → · Palette generator →

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