#210D52#210D52

#210D52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.115 H 287.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#210D52
RGBrgb(33, 13, 82)
HSLhsl(257, 73%, 19%)
HSVhsv(257, 84%, 32%)
CMYKcmyk(59.8%, 84.1%, 0%, 67.8%)
CIE-LABlab(10.71, 29.38, -38.05)
CIE-LCHlch(10.71, 48.07, 307.67°)
OKLaboklab(24.35% 0.0351 -0.1095)
OKLCHoklch(24.35% 0.115 287.8)
XYZxyz(2.2937, 1.2203, 8.0957)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D52 #3E520D
analogous
#0D1B52 #210D52 #430D52
triadic
#210D52 #52210D #0D5221
tetradic
#210D52 #520D1B #3E520D #0D5243
square
#210D52 #520D1B #3E520D #0D5243
split-complementary
#210D52 #52430D #1B520D
monochromatic
#0B041A #0C051D #210D52 #361587 #4C1EBC

Accessibility & contrast

On white

16.88
#210D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#210D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210D52
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D52#FFFFFF#000000##FFFFFF
##210D521.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#0C212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210d52;
/* rgb */ color: rgb(33, 13, 82);
/* oklch */ color: oklch(24.3% 0.115 287.8);
Tailwind
colors: {
  custom: {
    50: '#634e83',
    500: '#210d52',
    950: '#000000',
  },
}
SCSS
$custom: #210d52;
$custom-light: #634e83;
$custom-dark: #000000;
JSON
{
  "hex": "#210d52",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 257.391,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24346,
    "c": 0.11498,
    "h": 287.8
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#210D52
secondary
#718D2E
accent
#EF38BA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210D52

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

Preview Lab → · Contrast checker → · Palette generator →

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