#210A3F#210A3F

#210A3F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.094 H 297.9°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#210A3F
RGBrgb(33, 10, 63)
HSLhsl(266, 73%, 14%)
HSVhsv(266, 84%, 25%)
CMYKcmyk(47.6%, 84.1%, 0%, 75.3%)
CIE-LABlab(8.12, 25.03, -29.01)
CIE-LCHlch(8.12, 38.32, 310.79°)
OKLaboklab(21.92% 0.0438 -0.083)
OKLCHoklch(21.92% 0.094 297.9)
XYZxyz(1.6327, 0.8993, 4.7892)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210A3F #283F0A
analogous
#0A0D3F #210A3F #3C0A3F
triadic
#210A3F #3F210A #0A3F21
tetradic
#210A3F #3F0A0D #283F0A #0A3F3C
square
#210A3F #3F0A0D #283F0A #0A3F3C
split-complementary
#210A3F #3F3C0A #0D3F0A
monochromatic
#0E041A #0E041A #210A3F #3D1274 #581BA9

Accessibility & contrast

On white

17.80
#210A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#210A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210A3F
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210A3F#FFFFFF#000000##FFFFFF
##210A3F1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#191824
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #210a3f;
/* rgb */ color: rgb(33, 10, 63);
/* oklch */ color: oklch(21.9% 0.094 297.9);
Tailwind
colors: {
  custom: {
    50: '#604b75',
    500: '#210a3f',
    950: '#000000',
  },
}
SCSS
$custom: #210a3f;
$custom-light: #604b75;
$custom-dark: #000000;
JSON
{
  "hex": "#210a3f",
  "rgb": {
    "r": 33,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 266.038,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21919,
    "c": 0.09383,
    "h": 297.9
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#210A3F
secondary
#587C29
accent
#EF38A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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