#210D34#210D34

#210D34 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.3% C 0.074 H 304.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#210D34
RGBrgb(33, 13, 52)
HSLhsl(271, 60%, 13%)
HSVhsv(271, 75%, 20%)
CMYKcmyk(36.5%, 75%, 0%, 79.6%)
CIE-LABlab(7.76, 19.88, -21.65)
CIE-LCHlch(7.76, 29.39, 312.57°)
OKLaboklab(21.34% 0.042 -0.0613)
OKLCHoklch(21.34% 0.074 304.4)
XYZxyz(1.3908, 0.8591, 3.3407)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210D34 #20340D
analogous
#0D0D34 #210D34 #340D33
triadic
#210D34 #34210D #0D3421
tetradic
#210D34 #340D0D #20340D #0D3334
square
#210D34 #340D0D #20340D #0D3334
split-complementary
#210D34 #33340D #0D340D
monochromatic
#100618 #100618 #210D34 #401965 #5F2596

Accessibility & contrast

On white

17.92
#210D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210D34
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210D34#FFFFFF#000000##FFFFFF
##210D341.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#041733
Tritanopia (blue-blind)
#1E151E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210d34;
/* rgb */ color: rgb(33, 13, 52);
/* oklch */ color: oklch(21.3% 0.074 304.4);
Tailwind
colors: {
  custom: {
    50: '#5e4d6c',
    500: '#210d34',
    950: '#000000',
  },
}
SCSS
$custom: #210d34;
$custom-light: #5e4d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#210d34",
  "rgb": {
    "r": 33,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 270.769,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21342,
    "c": 0.07435,
    "h": 304.4
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#210D34
secondary
#4E6F2D
accent
#E34592
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #210D34

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

Preview Lab → · Contrast checker → · Palette generator →

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