#211072#211072

#211072 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.153 H 278.4°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#211072
RGBrgb(33, 16, 114)
HSLhsl(250, 75%, 25%)
HSVhsv(250, 86%, 45%)
CMYKcmyk(71.1%, 86%, 0%, 55.3%)
CIE-LABlab(15.00, 38.08, -52.27)
CIE-LCHlch(15.00, 64.67, 306.07°)
OKLaboklab(28.44% 0.0222 -0.151)
OKLCHoklch(28.44% 0.153 278.4)
XYZxyz(3.8488, 1.9085, 16.0819)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211072 #617210
analogous
#103072 #211072 #521072
triadic
#211072 #722110 #107221
tetradic
#211072 #721030 #617210 #107252
square
#211072 #721030 #617210 #107252
split-complementary
#211072 #725210 #307210
monochromatic
#08041B #11083C #211072 #3118A8 #401FDD

Accessibility & contrast

On white

15.20
#211072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211072
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211072#FFFFFF#000000##FFFFFF
##2110721.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211072;
/* rgb */ color: rgb(33, 16, 114);
/* oklch */ color: oklch(28.4% 0.153 278.4);
Tailwind
colors: {
  custom: {
    50: '#6a529c',
    500: '#211072',
    950: '#000000',
  },
}
SCSS
$custom: #211072;
$custom-light: #6a529c;
$custom-dark: #000000;
JSON
{
  "hex": "#211072",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 250.408,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28441,
    "c": 0.15261,
    "h": 278.4
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#211072
secondary
#95A934
accent
#F236D1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #211072

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

Preview Lab → · Contrast checker → · Palette generator →

#211072 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva