#211358#211358

#211358 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.116 H 284.1°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#211358
RGBrgb(33, 19, 88)
HSLhsl(252, 64%, 21%)
HSVhsv(252, 78%, 35%)
CMYKcmyk(62.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(12.57, 27.93, -39.08)
CIE-LCHlch(12.57, 48.03, 305.55°)
OKLaboklab(25.85% 0.0282 -0.1125)
OKLCHoklch(25.85% 0.116 284.1)
XYZxyz(2.6210, 1.4935, 9.3808)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211358 #4A5813
analogous
#132758 #211358 #431358
triadic
#211358 #582113 #135821
tetradic
#211358 #581327 #4A5813 #135843
square
#211358 #581327 #4A5813 #135843
split-complementary
#211358 #584313 #275813
monochromatic
#090519 #0E0826 #211358 #341E8A #4729BD

Accessibility & contrast

On white

16.17
#211358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211358
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211358#FFFFFF#000000##FFFFFF
##2113581.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#042634
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211358;
/* rgb */ color: rgb(33, 19, 88);
/* oklch */ color: oklch(25.9% 0.116 284.1);
Tailwind
colors: {
  custom: {
    50: '#645288',
    500: '#211358',
    950: '#000000',
  },
}
SCSS
$custom: #211358;
$custom-light: #645288;
$custom-dark: #000000;
JSON
{
  "hex": "#211358",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 252.174,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25853,
    "c": 0.11604,
    "h": 284.1
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#211358
secondary
#7E9037
accent
#E740C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211358

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

Preview Lab → · Contrast checker → · Palette generator →

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