#210C41#210C41

#210C41 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.094 H 296.0°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#210C41
RGBrgb(33, 12, 65)
HSLhsl(264, 69%, 15%)
HSVhsv(264, 82%, 25%)
CMYKcmyk(49.2%, 81.5%, 0%, 74.5%)
CIE-LABlab(8.72, 24.53, -29.46)
CIE-LCHlch(8.72, 38.33, 309.78°)
OKLaboklab(22.4% 0.0411 -0.0843)
OKLCHoklch(22.4% 0.094 296)
XYZxyz(1.7126, 0.9679, 5.0966)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C41 #2C410C
analogous
#0C1141 #210C41 #3C0C41
triadic
#210C41 #41210C #0C4121
tetradic
#210C41 #410C11 #2C410C #0C413C
square
#210C41 #410C11 #2C410C #0C413C
split-complementary
#210C41 #413C0C #11410C
monochromatic
#0D051A #0D051A #210C41 #3B1675 #551FA8

Accessibility & contrast

On white

17.59
#210C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#210C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C41
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C41#FFFFFF#000000##FFFFFF
##210C411.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#181A25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #210c41;
/* rgb */ color: rgb(33, 12, 65);
/* oklch */ color: oklch(22.4% 0.094 296.0);
Tailwind
colors: {
  custom: {
    50: '#604d76',
    500: '#210c41',
    950: '#000000',
  },
}
SCSS
$custom: #210c41;
$custom-light: #604d76;
$custom-dark: #000000;
JSON
{
  "hex": "#210c41",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 263.774,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22403,
    "c": 0.09378,
    "h": 296
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#210C41
secondary
#5D7D2C
accent
#EC3CA6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #210C41

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

Preview Lab → · Contrast checker → · Palette generator →

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