#210D46#210D46

#210D46 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.099 H 293.0°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#210D46
RGBrgb(33, 13, 70)
HSLhsl(261, 69%, 16%)
HSVhsv(261, 81%, 27%)
CMYKcmyk(52.9%, 81.4%, 0%, 72.5%)
CIE-LABlab(9.43, 25.53, -31.83)
CIE-LCHlch(9.43, 40.80, 308.73°)
OKLaboklab(23.06% 0.0387 -0.0913)
OKLCHoklch(23.06% 0.099 293)
XYZxyz(1.8763, 1.0533, 5.8976)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D46 #32460D
analogous
#0D1646 #210D46 #3E0D46
triadic
#210D46 #46210D #0D4621
tetradic
#210D46 #460D16 #32460D #0D463E
square
#210D46 #460D16 #32460D #0D463E
split-complementary
#210D46 #463E0D #16460D
monochromatic
#0C051A #0C051A #210D46 #39177A #5220AD

Accessibility & contrast

On white

17.35
#210D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210D46
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D46#FFFFFF#000000##FFFFFF
##210D461.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210d46;
/* rgb */ color: rgb(33, 13, 70);
/* oklch */ color: oklch(23.1% 0.099 293.0);
Tailwind
colors: {
  custom: {
    50: '#614e7a',
    500: '#210d46',
    950: '#000000',
  },
}
SCSS
$custom: #210d46;
$custom-light: #614e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#210d46",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 261.053,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23059,
    "c": 0.09914,
    "h": 293
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#210D46
secondary
#64812D
accent
#EC3CAE
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210D46

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

Preview Lab → · Contrast checker → · Palette generator →

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