#210C51#210C51

#210C51 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.115 H 288.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#210C51
RGBrgb(33, 12, 81)
HSLhsl(258, 74%, 18%)
HSVhsv(258, 85%, 32%)
CMYKcmyk(59.3%, 85.2%, 0%, 68.2%)
CIE-LABlab(10.41, 29.59, -37.86)
CIE-LCHlch(10.41, 48.05, 308.01°)
OKLaboklab(24.11% 0.0362 -0.1089)
OKLCHoklch(24.11% 0.115 288.4)
XYZxyz(2.2434, 1.1802, 7.8926)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C51 #3C510C
analogous
#0C1951 #210C51 #430C51
triadic
#210C51 #51210C #0C5121
tetradic
#210C51 #510C19 #3C510C #0C5143
square
#210C51 #510C19 #3C510C #0C5143
split-complementary
#210C51 #51430C #19510C
monochromatic
#0B041B #0B041C #210C51 #371486 #4C1CBC

Accessibility & contrast

On white

16.99
#210C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#210C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C51
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C51#FFFFFF#000000##FFFFFF
##210C511.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001A50
Tritanopia (blue-blind)
#0D202E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #210c51;
/* rgb */ color: rgb(33, 12, 81);
/* oklch */ color: oklch(24.1% 0.115 288.4);
Tailwind
colors: {
  custom: {
    50: '#634e83',
    500: '#210c51',
    950: '#000000',
  },
}
SCSS
$custom: #210c51;
$custom-light: #634e83;
$custom-dark: #000000;
JSON
{
  "hex": "#210c51",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 258.261,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24107,
    "c": 0.11477,
    "h": 288.4
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#210C51
secondary
#6F8C2C
accent
#F137B8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #210C51

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

Preview Lab → · Contrast checker → · Palette generator →

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