#210C3F#210C3F

#210C3F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.091 H 297.2°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#210C3F
RGBrgb(33, 12, 63)
HSLhsl(265, 68%, 15%)
HSVhsv(265, 81%, 25%)
CMYKcmyk(47.6%, 81%, 0%, 75.3%)
CIE-LABlab(8.53, 23.90, -28.35)
CIE-LCHlch(8.53, 37.08, 310.13°)
OKLaboklab(22.2% 0.0416 -0.081)
OKLCHoklch(22.2% 0.091 297.2)
XYZxyz(1.6556, 0.9451, 4.7969)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C3F #2A3F0C
analogous
#0C113F #210C3F #3B0C3F
triadic
#210C3F #3F210C #0C3F21
tetradic
#210C3F #3F0C11 #2A3F0C #0C3F3B
square
#210C3F #3F0C11 #2A3F0C #0C3F3B
split-complementary
#210C3F #3F3B0C #113F0C
monochromatic
#0D051A #0D051A #210C3F #3C1672 #5720A6

Accessibility & contrast

On white

17.66
#210C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C3F
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C3F#FFFFFF#000000##FFFFFF
##210C3F1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#191924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210c3f;
/* rgb */ color: rgb(33, 12, 63);
/* oklch */ color: oklch(22.2% 0.091 297.2);
Tailwind
colors: {
  custom: {
    50: '#604d74',
    500: '#210c3f',
    950: '#000000',
  },
}
SCSS
$custom: #210c3f;
$custom-light: #604d74;
$custom-dark: #000000;
JSON
{
  "hex": "#210c3f",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 264.706,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22204,
    "c": 0.09108,
    "h": 297.2
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#210C3F
secondary
#5A7B2C
accent
#EB3DA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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