#210F5E#210F5E

#210F5E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.128 H 283.3°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#210F5E
RGBrgb(33, 15, 94)
HSLhsl(254, 72%, 21%)
HSVhsv(254, 84%, 37%)
CMYKcmyk(64.9%, 84%, 0%, 63.1%)
CIE-LABlab(12.43, 32.19, -43.34)
CIE-LCHlch(12.43, 53.98, 306.60°)
OKLaboklab(25.96% 0.0296 -0.1249)
OKLCHoklch(25.96% 0.128 283.3)
XYZxyz(2.8178, 1.4729, 10.7233)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210F5E #4C5E0F
analogous
#0F255E #210F5E #490F5E
triadic
#210F5E #5E210F #0F5E21
tetradic
#210F5E #5E0F25 #4C5E0F #0F5E49
square
#210F5E #5E0F25 #4C5E0F #0F5E49
split-complementary
#210F5E #5E490F #255E0F
monochromatic
#09041A #0E0729 #210F5E #341793 #4620C8

Accessibility & contrast

On white

16.22
#210F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#210F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210F5E
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210F5E#FFFFFF#000000##FFFFFF
##210F5E1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #210f5e;
/* rgb */ color: rgb(33, 15, 94);
/* oklch */ color: oklch(26.0% 0.128 283.3);
Tailwind
colors: {
  custom: {
    50: '#66508d',
    500: '#210f5e',
    950: '#000000',
  },
}
SCSS
$custom: #210f5e;
$custom-light: #66508d;
$custom-dark: #000000;
JSON
{
  "hex": "#210f5e",
  "rgb": {
    "r": 33,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 253.671,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2596,
    "c": 0.1284,
    "h": 283.3
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#210F5E
secondary
#809731
accent
#EF39C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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