#210F4B#210F4B

#210F4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.103 H 290.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#210F4B
RGBrgb(33, 15, 75)
HSLhsl(258, 67%, 18%)
HSVhsv(258, 80%, 29%)
CMYKcmyk(56%, 80%, 0%, 70.6%)
CIE-LABlab(10.36, 25.98, -33.80)
CIE-LCHlch(10.36, 42.63, 307.54°)
OKLaboklab(23.87% 0.0353 -0.0971)
OKLCHoklch(23.87% 0.103 290)
XYZxyz(2.0677, 1.1729, 6.7727)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F4B #394B0F
analogous
#0F1B4B #210F4B #3F0F4B
triadic
#210F4B #4B210F #0F4B21
tetradic
#210F4B #4B0F1B #394B0F #0F4B3F
square
#210F4B #4B0F1B #394B0F #0F4B3F
split-complementary
#210F4B #4B3F0F #1B4B0F
monochromatic
#0B051A #0B051A #210F4B #37197E #4E23B1

Accessibility & contrast

On white

17.01
#210F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#210F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F4B
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F4B#FFFFFF#000000##FFFFFF
##210F4B1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#121F2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #210f4b;
/* rgb */ color: rgb(33, 15, 75);
/* oklch */ color: oklch(23.9% 0.103 290.0);
Tailwind
colors: {
  custom: {
    50: '#624f7e',
    500: '#210f4b',
    950: '#000000',
  },
}
SCSS
$custom: #210f4b;
$custom-light: #624f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#210f4b",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 258,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23872,
    "c": 0.10329,
    "h": 290
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#210F4B
secondary
#6C8530
accent
#EA3EB6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #210F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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