#211357#211357

#211357 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.115 H 284.4°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#211357
RGBrgb(33, 19, 87)
HSLhsl(252, 64%, 21%)
HSVhsv(252, 78%, 34%)
CMYKcmyk(62.1%, 78.2%, 0%, 65.9%)
CIE-LABlab(12.46, 27.59, -38.58)
CIE-LCHlch(12.46, 47.43, 305.57°)
OKLaboklab(25.75% 0.0285 -0.1111)
OKLCHoklch(25.75% 0.115 284.4)
XYZxyz(2.5798, 1.4770, 9.1641)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211357 #495713
analogous
#132757 #211357 #431357
triadic
#211357 #572113 #135721
tetradic
#211357 #571327 #495713 #135743
square
#211357 #571327 #495713 #135743
split-complementary
#211357 #574313 #275713
monochromatic
#0A0519 #0E0825 #211357 #341E89 #4729BB

Accessibility & contrast

On white

16.21
#211357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#211357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211357
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211357#FFFFFF#000000##FFFFFF
##2113571.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#052533
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #211357;
/* rgb */ color: rgb(33, 19, 87);
/* oklch */ color: oklch(25.7% 0.115 284.4);
Tailwind
colors: {
  custom: {
    50: '#645287',
    500: '#211357',
    950: '#000000',
  },
}
SCSS
$custom: #211357;
$custom-light: #645287;
$custom-dark: #000000;
JSON
{
  "hex": "#211357",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 252.353,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25746,
    "c": 0.11467,
    "h": 284.4
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#211357
secondary
#7D8F36
accent
#E741C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211357

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

Preview Lab → · Contrast checker → · Palette generator →

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