#210C37#210C37

#210C37 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.4% C 0.080 H 302.5°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#210C37
RGBrgb(33, 12, 55)
HSLhsl(269, 64%, 13%)
HSVhsv(269, 78%, 22%)
CMYKcmyk(40%, 78.2%, 0%, 78.4%)
CIE-LABlab(7.79, 21.42, -23.79)
CIE-LCHlch(7.79, 32.01, 312.00°)
OKLaboklab(21.44% 0.0431 -0.0676)
OKLCHoklch(21.44% 0.08 302.5)
XYZxyz(1.4481, 0.8621, 3.7038)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C37 #22370C
analogous
#0C0D37 #210C37 #360C37
triadic
#210C37 #37210C #0C3721
tetradic
#210C37 #370C0D #22370C #0C3736
square
#210C37 #370C0D #22370C #0C3736
split-complementary
#210C37 #37360C #0D370C
monochromatic
#0F0519 #0F0519 #210C37 #3F1769 #5D229B

Accessibility & contrast

On white

17.91
#210C37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C37
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C37#FFFFFF#000000##FFFFFF
##210C371.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#1D1620
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #210c37;
/* rgb */ color: rgb(33, 12, 55);
/* oklch */ color: oklch(21.4% 0.080 302.5);
Tailwind
colors: {
  custom: {
    50: '#5f4c6e',
    500: '#210c37',
    950: '#000000',
  },
}
SCSS
$custom: #210c37;
$custom-light: #5f4c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#210c37",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 55
  },
  "hsl": {
    "h": 269.302,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21443,
    "c": 0.0802,
    "h": 302.5
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#210C37
secondary
#50732C
accent
#E74196
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #210C37

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

Preview Lab → · Contrast checker → · Palette generator →

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