#210C46#210C46

#210C46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.100 H 293.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#210C46
RGBrgb(33, 12, 70)
HSLhsl(262, 71%, 16%)
HSVhsv(262, 83%, 27%)
CMYKcmyk(52.9%, 82.9%, 0%, 72.5%)
CIE-LABlab(9.23, 26.10, -32.16)
CIE-LCHlch(9.23, 41.42, 309.06°)
OKLaboklab(22.92% 0.0397 -0.0922)
OKLCHoklch(22.92% 0.1 293.3)
XYZxyz(1.8639, 1.0284, 5.8935)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C46 #31460C
analogous
#0C1446 #210C46 #3E0C46
triadic
#210C46 #46210C #0C4621
tetradic
#210C46 #460C14 #31460C #0C463E
square
#210C46 #460C14 #31460C #0C463E
split-complementary
#210C46 #463E0C #14460C
monochromatic
#0C041A #0C041A #210C46 #3A157A #521EAE

Accessibility & contrast

On white

17.42
#210C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#210C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C46
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C46#FFFFFF#000000##FFFFFF
##210C461.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#161B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210c46;
/* rgb */ color: rgb(33, 12, 70);
/* oklch */ color: oklch(22.9% 0.100 293.3);
Tailwind
colors: {
  custom: {
    50: '#614d7a',
    500: '#210c46',
    950: '#000000',
  },
}
SCSS
$custom: #210c46;
$custom-light: #614d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#210c46",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 261.724,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22916,
    "c": 0.10043,
    "h": 293.3
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#210C46
secondary
#63822C
accent
#ED3AAD
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #210C46

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

Preview Lab → · Contrast checker → · Palette generator →

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