#210E5F#210E5F

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

Color values

HEX#210E5F
RGBrgb(33, 14, 95)
HSLhsl(254, 74%, 21%)
HSVhsv(254, 85%, 37%)
CMYKcmyk(65.3%, 85.3%, 0%, 62.7%)
CIE-LABlab(12.37, 33.02, -44.11)
CIE-LCHlch(12.37, 55.10, 306.82°)
OKLaboklab(25.95% 0.0299 -0.1272)
OKLCHoklch(25.95% 0.131 283.2)
XYZxyz(2.8492, 1.4634, 10.9566)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210E5F #4C5F0E
analogous
#0E245F #210E5F #4A0E5F
triadic
#210E5F #5F210E #0E5F21
tetradic
#210E5F #5F0E24 #4C5F0E #0E5F4A
square
#210E5F #5F0E24 #4C5F0E #0E5F4A
split-complementary
#210E5F #5F4A0E #245F0E
monochromatic
#09041B #0E062A #210E5F #341694 #461ECA

Accessibility & contrast

On white

16.24
#210E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210E5F
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210E5F#FFFFFF#000000##FFFFFF
##210E5F1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #210e5f;
/* rgb */ color: rgb(33, 14, 95);
/* oklch */ color: oklch(26.0% 0.131 283.2);
Tailwind
colors: {
  custom: {
    50: '#66508d',
    500: '#210e5f',
    950: '#000000',
  },
}
SCSS
$custom: #210e5f;
$custom-light: #66508d;
$custom-dark: #000000;
JSON
{
  "hex": "#210e5f",
  "rgb": {
    "r": 33,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 254.074,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25952,
    "c": 0.13064,
    "h": 283.2
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#210E5F
secondary
#809930
accent
#F137C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #210E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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