#210C48#210C48

#210C48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.103 H 292.3°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#210C48
RGBrgb(33, 12, 72)
HSLhsl(261, 71%, 16%)
HSVhsv(261, 83%, 28%)
CMYKcmyk(54.2%, 83.3%, 0%, 71.8%)
CIE-LABlab(9.43, 26.73, -33.22)
CIE-LCHlch(9.43, 42.64, 308.82°)
OKLaboklab(23.13% 0.0392 -0.0953)
OKLCHoklch(23.13% 0.103 292.3)
XYZxyz(1.9280, 1.0541, 6.2315)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C48 #33480C
analogous
#0C1548 #210C48 #3F0C48
triadic
#210C48 #48210C #0C4821
tetradic
#210C48 #480C15 #33480C #0C483F
square
#210C48 #480C15 #33480C #0C483F
split-complementary
#210C48 #483F0C #15480C
monochromatic
#0C041A #0C041A #210C48 #39157C #511DB1

Accessibility & contrast

On white

17.34
#210C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210C48
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C48#FFFFFF#000000##FFFFFF
##210C481.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#141C29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210c48;
/* rgb */ color: rgb(33, 12, 72);
/* oklch */ color: oklch(23.1% 0.103 292.3);
Tailwind
colors: {
  custom: {
    50: '#614d7c',
    500: '#210c48',
    950: '#000000',
  },
}
SCSS
$custom: #210c48;
$custom-light: #614d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#210c48",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 261,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23126,
    "c": 0.10307,
    "h": 292.3
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#210C48
secondary
#65842C
accent
#EE3AAF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050109
muted
#7A777B

Preview Lab

Preview with #210C48

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

Preview Lab → · Contrast checker → · Palette generator →

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