#210F4F#210F4F

#210F4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.109 H 288.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#210F4F
RGBrgb(33, 15, 79)
HSLhsl(257, 68%, 18%)
HSVhsv(257, 81%, 31%)
CMYKcmyk(58.2%, 81%, 0%, 69%)
CIE-LABlab(10.77, 27.29, -35.88)
CIE-LCHlch(10.77, 45.08, 307.25°)
OKLaboklab(24.29% 0.0342 -0.1032)
OKLCHoklch(24.29% 0.109 288.4)
XYZxyz(2.2089, 1.2294, 7.5165)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F4F #3D4F0F
analogous
#0F1D4F #210F4F #410F4F
triadic
#210F4F #4F210F #0F4F21
tetradic
#210F4F #4F0F1D #3D4F0F #0F4F41
square
#210F4F #4F0F1D #3D4F0F #0F4F41
split-complementary
#210F4F #4F410F #1D4F0F
monochromatic
#0B051A #0C051C #210F4F #361982 #4C23B6

Accessibility & contrast

On white

16.86
#210F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210F4F
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F4F#FFFFFF#000000##FFFFFF
##210F4F1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#0F202E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #210f4f;
/* rgb */ color: rgb(33, 15, 79);
/* oklch */ color: oklch(24.3% 0.109 288.4);
Tailwind
colors: {
  custom: {
    50: '#624f81',
    500: '#210f4f',
    950: '#000000',
  },
}
SCSS
$custom: #210f4f;
$custom-light: #624f81;
$custom-dark: #000000;
JSON
{
  "hex": "#210f4f",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 256.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24294,
    "c": 0.1087,
    "h": 288.4
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#210F4F
secondary
#708931
accent
#EB3DBA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #210F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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