#211170#211170

#211170 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.149 H 278.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#211170
RGBrgb(33, 17, 112)
HSLhsl(250, 74%, 25%)
HSVhsv(250, 85%, 44%)
CMYKcmyk(70.5%, 84.8%, 0%, 56.1%)
CIE-LABlab(14.92, 36.96, -51.11)
CIE-LCHlch(14.92, 63.07, 305.88°)
OKLaboklab(28.31% 0.0224 -0.1476)
OKLCHoklch(28.31% 0.149 278.6)
XYZxyz(3.7513, 1.8938, 15.4939)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211170 #607011
analogous
#113170 #211170 #501170
triadic
#211170 #702111 #117021
tetradic
#211170 #701131 #607011 #117050
square
#211170 #701131 #607011 #117050
split-complementary
#211170 #705011 #317011
monochromatic
#08041B #11093B #211170 #3119A5 #4021DA

Accessibility & contrast

On white

15.23
#211170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211170
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211170#FFFFFF#000000##FFFFFF
##2111701.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211170;
/* rgb */ color: rgb(33, 17, 112);
/* oklch */ color: oklch(28.3% 0.149 278.6);
Tailwind
colors: {
  custom: {
    50: '#6a539a',
    500: '#211170',
    950: '#000000',
  },
}
SCSS
$custom: #211170;
$custom-light: #6a539a;
$custom-dark: #000000;
JSON
{
  "hex": "#211170",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 112
  },
  "hsl": {
    "h": 250.105,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28314,
    "c": 0.14929,
    "h": 278.6
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#211170
secondary
#94A735
accent
#F037D1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #211170

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

Preview Lab → · Contrast checker → · Palette generator →

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