#210F54#210F54

#210F54 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.115 H 286.5°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#210F54
RGBrgb(33, 15, 84)
HSLhsl(256, 70%, 19%)
HSVhsv(256, 82%, 33%)
CMYKcmyk(60.7%, 82.1%, 0%, 67.1%)
CIE-LABlab(11.31, 28.93, -38.43)
CIE-LCHlch(11.31, 48.10, 306.97°)
OKLaboklab(24.84% 0.0328 -0.1106)
OKLCHoklch(24.84% 0.115 286.5)
XYZxyz(2.3978, 1.3049, 8.5113)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F54 #42540F
analogous
#0F2054 #210F54 #440F54
triadic
#210F54 #54210F #0F5421
tetradic
#210F54 #540F20 #42540F #0F5444
square
#210F54 #540F20 #42540F #0F5444
split-complementary
#210F54 #54440F #20540F
monochromatic
#0A051A #0D0620 #210F54 #351888 #4A22BC

Accessibility & contrast

On white

16.65
#210F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#210F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F54
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F54#FFFFFF#000000##FFFFFF
##210F541.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#092231
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #210f54;
/* rgb */ color: rgb(33, 15, 84);
/* oklch */ color: oklch(24.8% 0.115 286.5);
Tailwind
colors: {
  custom: {
    50: '#645085',
    500: '#210f54',
    950: '#000000',
  },
}
SCSS
$custom: #210f54;
$custom-light: #645085;
$custom-dark: #000000;
JSON
{
  "hex": "#210f54",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 255.652,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24836,
    "c": 0.11537,
    "h": 286.5
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#210F54
secondary
#768E31
accent
#ED3BBE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #210F54

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

Preview Lab → · Contrast checker → · Palette generator →

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