#210C45#210C45

#210C45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.099 H 293.8°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#210C45
RGBrgb(33, 12, 69)
HSLhsl(262, 70%, 16%)
HSVhsv(262, 83%, 27%)
CMYKcmyk(52.2%, 82.6%, 0%, 72.9%)
CIE-LABlab(9.12, 25.78, -31.63)
CIE-LCHlch(9.12, 40.81, 309.19°)
OKLaboklab(22.81% 0.04 -0.0907)
OKLCHoklch(22.81% 0.099 293.8)
XYZxyz(1.8326, 1.0159, 5.7286)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C45 #30450C
analogous
#0C1345 #210C45 #3D0C45
triadic
#210C45 #45210C #0C4521
tetradic
#210C45 #450C13 #30450C #0C453D
square
#210C45 #450C13 #30450C #0C453D
split-complementary
#210C45 #453D0C #13450C
monochromatic
#0C051A #0C051A #210C45 #3A1579 #531EAD

Accessibility & contrast

On white

17.45
#210C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C45
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C45#FFFFFF#000000##FFFFFF
##210C451.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#161B27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210c45;
/* rgb */ color: rgb(33, 12, 69);
/* oklch */ color: oklch(22.8% 0.099 293.8);
Tailwind
colors: {
  custom: {
    50: '#614d79',
    500: '#210c45',
    950: '#000000',
  },
}
SCSS
$custom: #210c45;
$custom-light: #614d79;
$custom-dark: #000000;
JSON
{
  "hex": "#210c45",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 262.105,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22812,
    "c": 0.0991,
    "h": 293.8
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#210C45
secondary
#62812C
accent
#ED3BAB
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210C45

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

Preview Lab → · Contrast checker → · Palette generator →

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