#211658#211658

#211658 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.112 H 283.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#211658
RGBrgb(33, 22, 88)
HSLhsl(250, 60%, 22%)
HSVhsv(250, 75%, 35%)
CMYKcmyk(62.5%, 75%, 0%, 65.5%)
CIE-LABlab(13.24, 26.06, -37.98)
CIE-LCHlch(13.24, 46.05, 304.45°)
OKLaboklab(26.33% 0.0255 -0.1093)
OKLCHoklch(26.33% 0.112 283.1)
XYZxyz(2.6750, 1.6016, 9.3988)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211658 #4D5816
analogous
#162C58 #211658 #421658
triadic
#211658 #582116 #165821
tetradic
#211658 #58162C #4D5816 #165842
square
#211658 #58162C #4D5816 #165842
split-complementary
#211658 #584216 #2C5816
monochromatic
#090618 #0F0A27 #211658 #332289 #462EBA

Accessibility & contrast

On white

15.90
#211658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#211658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211658
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211658#FFFFFF#000000##FFFFFF
##2116581.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#032735
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211658;
/* rgb */ color: rgb(33, 22, 88);
/* oklch */ color: oklch(26.3% 0.112 283.1);
Tailwind
colors: {
  custom: {
    50: '#645488',
    500: '#211658',
    950: '#000000',
  },
}
SCSS
$custom: #211658;
$custom-light: #645488;
$custom-dark: #000000;
JSON
{
  "hex": "#211658",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 250,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26332,
    "c": 0.11226,
    "h": 283.1
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#211658
secondary
#818F3B
accent
#E345C9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211658

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

Preview Lab → · Contrast checker → · Palette generator →

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