#211070#211070

#211070 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.150 H 278.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#211070
RGBrgb(33, 16, 112)
HSLhsl(251, 75%, 25%)
HSVhsv(251, 86%, 44%)
CMYKcmyk(70.5%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.75, 37.45, -51.38)
CIE-LCHlch(14.75, 63.58, 306.09°)
OKLaboklab(28.2% 0.0229 -0.1484)
OKLCHoklch(28.2% 0.15 278.8)
XYZxyz(3.7362, 1.8634, 15.4889)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211070 #5F7010
analogous
#102F70 #211070 #511070
triadic
#211070 #702110 #107021
tetradic
#211070 #70102F #5F7010 #107051
square
#211070 #70102F #5F7010 #107051
split-complementary
#211070 #705110 #2F7010
monochromatic
#08041B #11083A #211070 #3118A6 #411FDB

Accessibility & contrast

On white

15.30
#211070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211070
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211070#FFFFFF#000000##FFFFFF
##2110701.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211070;
/* rgb */ color: rgb(33, 16, 112);
/* oklch */ color: oklch(28.2% 0.150 278.8);
Tailwind
colors: {
  custom: {
    50: '#6a529a',
    500: '#211070',
    950: '#000000',
  },
}
SCSS
$custom: #211070;
$custom-light: #6a529a;
$custom-dark: #000000;
JSON
{
  "hex": "#211070",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 250.625,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.282,
    "c": 0.15015,
    "h": 278.8
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#211070
secondary
#93A834
accent
#F236D0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #211070

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

Preview Lab → · Contrast checker → · Palette generator →

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