#210F3F#210F3F

#210F3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.087 H 295.9°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#210F3F
RGBrgb(33, 15, 63)
HSLhsl(263, 62%, 15%)
HSVhsv(263, 76%, 25%)
CMYKcmyk(47.6%, 76.2%, 0%, 75.3%)
CIE-LABlab(9.19, 22.06, -27.27)
CIE-LCHlch(9.19, 35.08, 308.97°)
OKLaboklab(22.68% 0.0379 -0.0779)
OKLCHoklch(22.68% 0.087 295.9)
XYZxyz(1.6950, 1.0238, 4.8100)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F3F #2D3F0F
analogous
#0F153F #210F3F #390F3F
triadic
#210F3F #3F210F #0F3F21
tetradic
#210F3F #3F0F15 #2D3F0F #0F3F39
square
#210F3F #3F0F15 #2D3F0F #0F3F39
split-complementary
#210F3F #3F390F #153F0F
monochromatic
#0D0619 #0D0619 #210F3F #3B1B70 #5527A2

Accessibility & contrast

On white

17.43
#210F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F3F
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F3F#FFFFFF#000000##FFFFFF
##210F3F1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#191A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #210f3f;
/* rgb */ color: rgb(33, 15, 63);
/* oklch */ color: oklch(22.7% 0.087 295.9);
Tailwind
colors: {
  custom: {
    50: '#604e74',
    500: '#210f3f',
    950: '#000000',
  },
}
SCSS
$custom: #210f3f;
$custom-light: #604e74;
$custom-dark: #000000;
JSON
{
  "hex": "#210f3f",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 262.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22677,
    "c": 0.08662,
    "h": 295.9
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#210F3F
secondary
#5E7930
accent
#E543A8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #210F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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