#210F50#210F50

#210F50 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.110 H 288.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#210F50
RGBrgb(33, 15, 80)
HSLhsl(257, 68%, 19%)
HSVhsv(257, 81%, 31%)
CMYKcmyk(58.8%, 81.3%, 0%, 68.6%)
CIE-LABlab(10.88, 27.62, -36.40)
CIE-LCHlch(10.88, 45.69, 307.19°)
OKLaboklab(24.4% 0.034 -0.1047)
OKLCHoklch(24.4% 0.11 288)
XYZxyz(2.2456, 1.2441, 7.7097)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F50 #3E500F
analogous
#0F1D50 #210F50 #410F50
triadic
#210F50 #50210F #0F5021
tetradic
#210F50 #500F1D #3E500F #0F5041
square
#210F50 #500F1D #3E500F #0F5041
split-complementary
#210F50 #50410F #1D500F
monochromatic
#0B051A #0C051C #210F50 #361984 #4C22B7

Accessibility & contrast

On white

16.82
#210F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F50
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F50#FFFFFF#000000##FFFFFF
##210F501.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001B4F
Tritanopia (blue-blind)
#0E212E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210f50;
/* rgb */ color: rgb(33, 15, 80);
/* oklch */ color: oklch(24.4% 0.110 288.0);
Tailwind
colors: {
  custom: {
    50: '#634f82',
    500: '#210f50',
    950: '#000000',
  },
}
SCSS
$custom: #210f50;
$custom-light: #634f82;
$custom-dark: #000000;
JSON
{
  "hex": "#210f50",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 256.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24401,
    "c": 0.11005,
    "h": 288
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#210F50
secondary
#718A31
accent
#EB3DBB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #210F50

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

Preview Lab → · Contrast checker → · Palette generator →

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