#210F5F#210F5F

#210F5F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.130 H 283.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#210F5F
RGBrgb(33, 15, 95)
HSLhsl(254, 73%, 22%)
HSVhsv(254, 84%, 37%)
CMYKcmyk(65.3%, 84.2%, 0%, 62.7%)
CIE-LABlab(12.55, 32.51, -43.81)
CIE-LCHlch(12.55, 54.56, 306.57°)
OKLaboklab(26.08% 0.0292 -0.1263)
OKLCHoklch(26.08% 0.13 283)
XYZxyz(2.8629, 1.4910, 10.9612)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F5F #4D5F0F
analogous
#0F255F #210F5F #490F5F
triadic
#210F5F #5F210F #0F5F21
tetradic
#210F5F #5F0F25 #4D5F0F #0F5F49
square
#210F5F #5F0F25 #4D5F0F #0F5F49
split-complementary
#210F5F #5F490F #255F0F
monochromatic
#09041A #0F072A #210F5F #331794 #4620C9

Accessibility & contrast

On white

16.18
#210F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#210F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F5F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F5F#FFFFFF#000000##FFFFFF
##210F5F1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #210f5f;
/* rgb */ color: rgb(33, 15, 95);
/* oklch */ color: oklch(26.1% 0.130 283.0);
Tailwind
colors: {
  custom: {
    50: '#66508d',
    500: '#210f5f',
    950: '#000000',
  },
}
SCSS
$custom: #210f5f;
$custom-light: #66508d;
$custom-dark: #000000;
JSON
{
  "hex": "#210f5f",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 253.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26075,
    "c": 0.12968,
    "h": 283
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#210F5F
secondary
#819832
accent
#EF38C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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