#210C33#210C33

#210C33 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.075 H 305.7°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#210C33
RGBrgb(33, 12, 51)
HSLhsl(272, 62%, 12%)
HSVhsv(272, 76%, 20%)
CMYKcmyk(35.3%, 76.5%, 0%, 80%)
CIE-LABlab(7.45, 20.17, -21.40)
CIE-LCHlch(7.45, 29.41, 313.30°)
OKLaboklab(21.09% 0.0436 -0.0607)
OKLCHoklch(21.09% 0.075 305.7)
XYZxyz(1.3561, 0.8253, 3.2192)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C33 #1E330C
analogous
#0E0C33 #210C33 #330C32
triadic
#210C33 #33210C #0C3321
tetradic
#210C33 #330E0C #1E330C #0C3233
square
#210C33 #330E0C #1E330C #0C3233
split-complementary
#210C33 #32330C #0C330E
monochromatic
#100619 #100619 #210C33 #411865 #612396

Accessibility & contrast

On white

18.03
#210C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C33
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C33#FFFFFF#000000##FFFFFF
##210C331.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#041732
Tritanopia (blue-blind)
#1E141E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #210c33;
/* rgb */ color: rgb(33, 12, 51);
/* oklch */ color: oklch(21.1% 0.075 305.7);
Tailwind
colors: {
  custom: {
    50: '#5e4c6b',
    500: '#210c33',
    950: '#000000',
  },
}
SCSS
$custom: #210c33;
$custom-light: #5e4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#210c33",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 272.308,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21087,
    "c": 0.0747,
    "h": 305.7
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#210C33
secondary
#4B6F2C
accent
#E5438E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #210C33

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

Preview Lab → · Contrast checker → · Palette generator →

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