#210A34#210A34

#210A34 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.079 H 305.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#210A34
RGBrgb(33, 10, 52)
HSLhsl(273, 68%, 12%)
HSVhsv(273, 81%, 20%)
CMYKcmyk(36.5%, 80.8%, 0%, 79.6%)
CIE-LABlab(7.12, 21.59, -22.67)
CIE-LCHlch(7.12, 31.31, 313.60°)
OKLaboklab(20.86% 0.0463 -0.0645)
OKLCHoklch(20.86% 0.079 305.6)
XYZxyz(1.3554, 0.7884, 3.3289)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A34 #1D340A
analogous
#0C0A34 #210A34 #340A32
triadic
#210A34 #34210A #0A3421
tetradic
#210A34 #340C0A #1D340A #0A3234
square
#210A34 #340C0A #1D340A #0A3234
split-complementary
#210A34 #32340A #0A340C
monochromatic
#10051A #10051A #210A34 #421467 #621E9B

Accessibility & contrast

On white

18.14
#210A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#210A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A34
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A34#FFFFFF#000000##FFFFFF
##210A341.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#011633
Tritanopia (blue-blind)
#1E131D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210a34;
/* rgb */ color: rgb(33, 10, 52);
/* oklch */ color: oklch(20.9% 0.079 305.6);
Tailwind
colors: {
  custom: {
    50: '#5e4b6c',
    500: '#210a34',
    950: '#000000',
  },
}
SCSS
$custom: #210a34;
$custom-light: #5e4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#210a34",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 272.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20859,
    "c": 0.07938,
    "h": 305.6
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#210A34
secondary
#497128
accent
#EB3D8C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #210A34

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

Preview Lab → · Contrast checker → · Palette generator →

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