#211452#211452

#211452 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.106 H 285.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#211452
RGBrgb(33, 20, 82)
HSLhsl(253, 61%, 20%)
HSVhsv(253, 76%, 32%)
CMYKcmyk(59.8%, 75.6%, 0%, 67.8%)
CIE-LABlab(12.17, 25.25, -35.65)
CIE-LCHlch(12.17, 43.68, 305.31°)
OKLaboklab(25.38% 0.0286 -0.1025)
OKLCHoklch(25.38% 0.106 285.6)
XYZxyz(2.3999, 1.4327, 8.1311)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211452 #455214
analogous
#142652 #211452 #401452
triadic
#211452 #522114 #145221
tetradic
#211452 #521426 #455214 #145240
square
#211452 #521426 #455214 #145240
split-complementary
#211452 #524014 #265214
monochromatic
#0A0619 #0D0821 #211452 #352083 #492CB4

Accessibility & contrast

On white

16.32
#211452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#211452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211452
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211452#FFFFFF#000000##FFFFFF
##2114521.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#0B2431
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211452;
/* rgb */ color: rgb(33, 20, 82);
/* oklch */ color: oklch(25.4% 0.106 285.6);
Tailwind
colors: {
  custom: {
    50: '#635283',
    500: '#211452',
    950: '#000000',
  },
}
SCSS
$custom: #211452;
$custom-light: #635283;
$custom-dark: #000000;
JSON
{
  "hex": "#211452",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 252.581,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.25384,
    "c": 0.10643,
    "h": 285.6
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#211452
secondary
#798A38
accent
#E444C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211452

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

Preview Lab → · Contrast checker → · Palette generator →

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