#211348#211348

#211348 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.2% C 0.093 H 289.7°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#211348
RGBrgb(33, 19, 72)
HSLhsl(256, 58%, 18%)
HSVhsv(256, 74%, 28%)
CMYKcmyk(54.2%, 73.6%, 0%, 71.8%)
CIE-LABlab(10.97, 22.46, -30.71)
CIE-LCHlch(10.97, 38.05, 306.18°)
OKLaboklab(24.22% 0.0315 -0.088)
OKLCHoklch(24.22% 0.093 289.7)
XYZxyz(2.0294, 1.2569, 6.2653)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211348 #3A4813
analogous
#131F48 #211348 #3B1348
triadic
#211348 #482113 #134821
tetradic
#211348 #48131F #3A4813 #13483B
square
#211348 #48131F #3A4813 #13483B
split-complementary
#211348 #483B13 #1F4813
monochromatic
#0B0618 #0B0618 #211348 #372078 #4D2DA9

Accessibility & contrast

On white

16.78
#211348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#211348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211348
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211348#FFFFFF#000000##FFFFFF
##2113481.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#14202B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #211348;
/* rgb */ color: rgb(33, 19, 72);
/* oklch */ color: oklch(24.2% 0.093 289.7);
Tailwind
colors: {
  custom: {
    50: '#61517b',
    500: '#211348',
    950: '#000000',
  },
}
SCSS
$custom: #211348;
$custom-light: #61517b;
$custom-dark: #000000;
JSON
{
  "hex": "#211348",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 255.849,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2422,
    "c": 0.09349,
    "h": 289.7
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#211348
secondary
#6D8136
accent
#E146B8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #211348

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

Preview Lab → · Contrast checker → · Palette generator →

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