#210A3A#210A3A

#210A3A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.087 H 301.1°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#210A3A
RGBrgb(33, 10, 58)
HSLhsl(269, 71%, 13%)
HSVhsv(269, 83%, 23%)
CMYKcmyk(43.1%, 82.8%, 0%, 77.3%)
CIE-LABlab(7.64, 23.50, -26.20)
CIE-LCHlch(7.64, 35.19, 311.88°)
OKLaboklab(21.42% 0.0451 -0.0747)
OKLCHoklch(21.42% 0.087 301.1)
XYZxyz(1.4993, 0.8459, 4.0865)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A3A #233A0A
analogous
#0A0B3A #210A3A #390A3A
triadic
#210A3A #3A210A #0A3A21
tetradic
#210A3A #3A0A0B #233A0A #0A3A39
square
#210A3A #3A0A0B #233A0A #0A3A39
split-complementary
#210A3A #3A390A #0B3A0A
monochromatic
#0F051A #0F051A #210A3A #3F136E #5C1CA2

Accessibility & contrast

On white

17.96
#210A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#210A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A3A
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A3A#FFFFFF#000000##FFFFFF
##210A3A1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#1C1621
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210a3a;
/* rgb */ color: rgb(33, 10, 58);
/* oklch */ color: oklch(21.4% 0.087 301.1);
Tailwind
colors: {
  custom: {
    50: '#5f4b71',
    500: '#210a3a',
    950: '#000000',
  },
}
SCSS
$custom: #210a3a;
$custom-light: #5f4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#210a3a",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 268.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21423,
    "c": 0.08729,
    "h": 301.1
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#210A3A
secondary
#527728
accent
#ED3A98
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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