#210F4E#210F4E

#210F4E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.107 H 288.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#210F4E
RGBrgb(33, 15, 78)
HSLhsl(257, 68%, 18%)
HSVhsv(257, 81%, 31%)
CMYKcmyk(57.7%, 80.8%, 0%, 69.4%)
CIE-LABlab(10.67, 26.96, -35.37)
CIE-LCHlch(10.67, 44.47, 307.32°)
OKLaboklab(24.19% 0.0345 -0.1017)
OKLCHoklch(24.19% 0.107 288.8)
XYZxyz(2.1728, 1.2149, 7.3263)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F4E #3C4E0F
analogous
#0F1C4E #210F4E #400F4E
triadic
#210F4E #4E210F #0F4E21
tetradic
#210F4E #4E0F1C #3C4E0F #0F4E40
square
#210F4E #4E0F1C #3C4E0F #0F4E40
split-complementary
#210F4E #4E400F #1C4E0F
monochromatic
#0B051A #0B051B #210F4E #371981 #4C23B5

Accessibility & contrast

On white

16.89
#210F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#210F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F4E
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F4E#FFFFFF#000000##FFFFFF
##210F4E1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001B4D
Tritanopia (blue-blind)
#10202D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210f4e;
/* rgb */ color: rgb(33, 15, 78);
/* oklch */ color: oklch(24.2% 0.107 288.8);
Tailwind
colors: {
  custom: {
    50: '#624f80',
    500: '#210f4e',
    950: '#000000',
  },
}
SCSS
$custom: #210f4e;
$custom-light: #624f80;
$custom-dark: #000000;
JSON
{
  "hex": "#210f4e",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 257.143,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24188,
    "c": 0.10736,
    "h": 288.8
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#210F4E
secondary
#6F8831
accent
#EB3DB9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #210F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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