#210C5F#210C5F

#210C5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.132 H 283.6°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#210C5F
RGBrgb(33, 12, 95)
HSLhsl(255, 78%, 21%)
HSVhsv(255, 87%, 37%)
CMYKcmyk(65.3%, 87.4%, 0%, 62.7%)
CIE-LABlab(12.04, 34.00, -44.66)
CIE-LCHlch(12.04, 56.13, 307.28°)
OKLaboklab(25.72% 0.0311 -0.1288)
OKLCHoklch(25.72% 0.132 283.6)
XYZxyz(2.8236, 1.4123, 10.9481)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210C5F #4A5F0C
analogous
#0C205F #210C5F #4A0C5F
triadic
#210C5F #5F210C #0C5F21
tetradic
#210C5F #5F0C20 #4A5F0C #0C5F4A
square
#210C5F #5F0C20 #4A5F0C #0C5F4A
split-complementary
#210C5F #5F4A0C #205F0C
monochromatic
#09031B #0E0529 #210C5F #341395 #471ACC

Accessibility & contrast

On white

16.37
#210C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#210C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210C5F
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210C5F#FFFFFF#000000##FFFFFF
##210C5F1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #210c5f;
/* rgb */ color: rgb(33, 12, 95);
/* oklch */ color: oklch(25.7% 0.132 283.6);
Tailwind
colors: {
  custom: {
    50: '#664f8d',
    500: '#210c5f',
    950: '#000000',
  },
}
SCSS
$custom: #210c5f;
$custom-light: #664f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#210c5f",
  "rgb": {
    "r": 33,
    "g": 12,
    "b": 95
  },
  "hsl": {
    "h": 255.181,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25721,
    "c": 0.13246,
    "h": 283.6
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#210C5F
secondary
#7E992D
accent
#F434C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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