#210C35#210C35

#210C35 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.077 H 304.0°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#210C35
RGBrgb(33, 12, 53)
HSLhsl(271, 63%, 13%)
HSVhsv(271, 77%, 21%)
CMYKcmyk(37.7%, 77.4%, 0%, 79.2%)
CIE-LABlab(7.62, 20.80, -22.61)
CIE-LCHlch(7.62, 30.72, 312.61°)
OKLaboklab(21.26% 0.0434 -0.0642)
OKLCHoklch(21.26% 0.077 304)
XYZxyz(1.4011, 0.8433, 3.4564)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C35 #20350C
analogous
#0D0C35 #210C35 #350C34
triadic
#210C35 #35210C #0C3521
tetradic
#210C35 #350D0C #20350C #0C3435
square
#210C35 #350D0C #20350C #0C3435
split-complementary
#210C35 #34350C #0C350D
monochromatic
#100619 #100619 #210C35 #401767 #5F2399

Accessibility & contrast

On white

17.97
#210C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C35
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C35#FFFFFF#000000##FFFFFF
##210C351.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#1D151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210c35;
/* rgb */ color: rgb(33, 12, 53);
/* oklch */ color: oklch(21.3% 0.077 304.0);
Tailwind
colors: {
  custom: {
    50: '#5e4c6c',
    500: '#210c35',
    950: '#000000',
  },
}
SCSS
$custom: #210c35;
$custom-light: #5e4c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#210c35",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 270.732,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21263,
    "c": 0.07746,
    "h": 304
  },
  "luminance": 0.00843
}

Semantic roles & 50–950 ramp

primary
#210C35
secondary
#4E712C
accent
#E64292
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #210C35

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

Preview Lab → · Contrast checker → · Palette generator →

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