#211253#211253

#211253 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.110 H 286.0°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#211253
RGBrgb(33, 18, 83)
HSLhsl(254, 64%, 20%)
HSVhsv(254, 78%, 33%)
CMYKcmyk(60.2%, 78.3%, 0%, 67.5%)
CIE-LABlab(11.83, 26.84, -36.90)
CIE-LCHlch(11.83, 45.63, 306.03°)
OKLaboklab(25.17% 0.0304 -0.1062)
OKLCHoklch(25.17% 0.11 286)
XYZxyz(2.4044, 1.3803, 8.3217)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211253 #445312
analogous
#122453 #211253 #411253
triadic
#211253 #532112 #125321
tetradic
#211253 #531224 #445312 #125341
square
#211253 #531224 #445312 #125341
split-complementary
#211253 #534112 #245312
monochromatic
#0A0519 #0D0721 #211253 #351D85 #4928B8

Accessibility & contrast

On white

16.46
#211253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#211253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211253
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211253#FFFFFF#000000##FFFFFF
##2112531.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001D52
Tritanopia (blue-blind)
#0A2331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #211253;
/* rgb */ color: rgb(33, 18, 83);
/* oklch */ color: oklch(25.2% 0.110 286.0);
Tailwind
colors: {
  custom: {
    50: '#635184',
    500: '#211253',
    950: '#000000',
  },
}
SCSS
$custom: #211253;
$custom-light: #635184;
$custom-dark: #000000;
JSON
{
  "hex": "#211253",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 253.846,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25168,
    "c": 0.11042,
    "h": 286
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#211253
secondary
#788C35
accent
#E740C1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211253

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

Preview Lab → · Contrast checker → · Palette generator →

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