#210C31#210C31

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

Color values

HEX#210C31
RGBrgb(33, 12, 49)
HSLhsl(274, 61%, 12%)
HSVhsv(274, 76%, 19%)
CMYKcmyk(32.7%, 75.5%, 0%, 80.8%)
CIE-LABlab(7.30, 19.54, -20.18)
CIE-LCHlch(7.30, 28.09, 314.08°)
OKLaboklab(20.92% 0.0437 -0.0571)
OKLCHoklch(20.92% 0.072 307.4)
XYZxyz(1.3129, 0.8080, 2.9919)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C31 #1C310C
analogous
#0F0C31 #210C31 #310C2F
triadic
#210C31 #31210C #0C3121
tetradic
#210C31 #310F0C #1C310C #0C2F31
square
#210C31 #310F0C #1C310C #0C2F31
split-complementary
#210C31 #2F310C #0C310F
monochromatic
#110619 #110619 #210C31 #421862 #632493

Accessibility & contrast

On white

18.08
#210C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C31
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C31#FFFFFF#000000##FFFFFF
##210C311.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#1E141D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210c31;
/* rgb */ color: rgb(33, 12, 49);
/* oklch */ color: oklch(20.9% 0.072 307.4);
Tailwind
colors: {
  custom: {
    50: '#5e4c69',
    500: '#210c31',
    950: '#000000',
  },
}
SCSS
$custom: #210c31;
$custom-light: #5e4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#210c31",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 274.054,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20916,
    "c": 0.07194,
    "h": 307.4
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#210C31
secondary
#486D2C
accent
#E44489
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210C31

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

Preview Lab → · Contrast checker → · Palette generator →

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