#210F52#210F52

#210F52 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.113 H 287.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#210F52
RGBrgb(33, 15, 82)
HSLhsl(256, 69%, 19%)
HSVhsv(256, 82%, 32%)
CMYKcmyk(59.8%, 81.7%, 0%, 67.8%)
CIE-LABlab(11.09, 28.27, -37.42)
CIE-LCHlch(11.09, 46.90, 307.07°)
OKLaboklab(24.62% 0.0334 -0.1077)
OKLCHoklch(24.62% 0.113 287.2)
XYZxyz(2.3206, 1.2741, 8.1046)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F52 #40520F
analogous
#0F1F52 #210F52 #430F52
triadic
#210F52 #52210F #0F5221
tetradic
#210F52 #520F1F #40520F #0F5243
square
#210F52 #520F1F #40520F #0F5243
split-complementary
#210F52 #52430F #1F520F
monochromatic
#0A051A #0C061E #210F52 #361886 #4B22B9

Accessibility & contrast

On white

16.74
#210F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F52
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F52#FFFFFF#000000##FFFFFF
##210F521.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#0C2230
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #210f52;
/* rgb */ color: rgb(33, 15, 82);
/* oklch */ color: oklch(24.6% 0.113 287.2);
Tailwind
colors: {
  custom: {
    50: '#634f83',
    500: '#210f52',
    950: '#000000',
  },
}
SCSS
$custom: #210f52;
$custom-light: #634f83;
$custom-dark: #000000;
JSON
{
  "hex": "#210f52",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 256.119,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24617,
    "c": 0.11271,
    "h": 287.2
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#210F52
secondary
#748C31
accent
#EC3CBD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210F52

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

Preview Lab → · Contrast checker → · Palette generator →

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