#210C56#210C56

#210C56 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.7% C 0.121 H 286.5°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#210C56
RGBrgb(33, 12, 86)
HSLhsl(257, 76%, 19%)
HSVhsv(257, 86%, 34%)
CMYKcmyk(61.6%, 86%, 0%, 66.3%)
CIE-LABlab(10.98, 31.17, -40.34)
CIE-LCHlch(10.98, 50.98, 307.69°)
OKLaboklab(24.67% 0.0344 -0.1162)
OKLCHoklch(24.67% 0.121 286.5)
XYZxyz(2.4379, 1.2580, 8.9167)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C56 #41560C
analogous
#0C1C56 #210C56 #460C56
triadic
#210C56 #56210C #0C5621
tetradic
#210C56 #560C1C #41560C #0C5646
square
#210C56 #560C1C #41560C #0C5646
split-complementary
#210C56 #56460C #1C560C
monochromatic
#0A041B #0C0520 #210C56 #36138C #4A1BC1

Accessibility & contrast

On white

16.78
#210C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#210C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C56
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C56#FFFFFF#000000##FFFFFF
##210C561.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#072231
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210c56;
/* rgb */ color: rgb(33, 12, 86);
/* oklch */ color: oklch(24.7% 0.121 286.5);
Tailwind
colors: {
  custom: {
    50: '#644e86',
    500: '#210c56',
    950: '#000000',
  },
}
SCSS
$custom: #210c56;
$custom-light: #644e86;
$custom-dark: #000000;
JSON
{
  "hex": "#210c56",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 257.027,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24672,
    "c": 0.12116,
    "h": 286.5
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#210C56
secondary
#75912D
accent
#F236BD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210C56

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

Preview Lab → · Contrast checker → · Palette generator →

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