#210F3E#210F3E

#210F3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.085 H 296.5°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#210F3E
RGBrgb(33, 15, 62)
HSLhsl(263, 61%, 15%)
HSVhsv(263, 76%, 24%)
CMYKcmyk(46.8%, 75.8%, 0%, 75.7%)
CIE-LABlab(9.10, 21.74, -26.71)
CIE-LCHlch(9.10, 34.44, 309.14°)
OKLaboklab(22.58% 0.0381 -0.0762)
OKLCHoklch(22.58% 0.085 296.5)
XYZxyz(1.6673, 1.0127, 4.6641)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F3E #2C3E0F
analogous
#0F143E #210F3E #390F3E
triadic
#210F3E #3E210F #0F3E21
tetradic
#210F3E #3E0F14 #2C3E0F #0F3E39
square
#210F3E #3E0F14 #2C3E0F #0F3E39
split-complementary
#210F3E #3E390F #143E0F
monochromatic
#0D0619 #0D0619 #210F3E #3B1B6F #5527A1

Accessibility & contrast

On white

17.46
#210F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#210F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F3E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F3E#FFFFFF#000000##FFFFFF
##210F3E1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#1A1A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210f3e;
/* rgb */ color: rgb(33, 15, 62);
/* oklch */ color: oklch(22.6% 0.085 296.5);
Tailwind
colors: {
  custom: {
    50: '#5f4e74',
    500: '#210f3e',
    950: '#000000',
  },
}
SCSS
$custom: #210f3e;
$custom-light: #5f4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#210f3e",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 262.979,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22583,
    "c": 0.0852,
    "h": 296.5
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#210F3E
secondary
#5D7830
accent
#E444A7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #210F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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