#201171#201171

#201171 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.151 H 277.8°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#201171
RGBrgb(32, 17, 113)
HSLhsl(249, 74%, 25%)
HSVhsv(249, 85%, 44%)
CMYKcmyk(71.7%, 85%, 0%, 55.7%)
CIE-LABlab(14.95, 37.19, -51.70)
CIE-LCHlch(14.95, 63.69, 305.73°)
OKLaboklab(28.35% 0.0205 -0.1494)
OKLCHoklch(28.35% 0.151 277.8)
XYZxyz(3.7758, 1.8999, 15.7873)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201171 #627111
analogous
#113271 #201171 #501171
triadic
#201171 #712011 #117120
tetradic
#201171 #711132 #627111 #117150
square
#201171 #711132 #627111 #117150
split-complementary
#201171 #715011 #327111
monochromatic
#08041B #11093C #201171 #2F19A6 #3E21DB

Accessibility & contrast

On white

15.22
#201171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201171
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201171#FFFFFF#000000##FFFFFF
##2011711.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201171;
/* rgb */ color: rgb(32, 17, 113);
/* oklch */ color: oklch(28.4% 0.151 277.8);
Tailwind
colors: {
  custom: {
    50: '#6a539b',
    500: '#201171',
    950: '#000000',
  },
}
SCSS
$custom: #201171;
$custom-light: #6a539b;
$custom-dark: #000000;
JSON
{
  "hex": "#201171",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 249.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28351,
    "c": 0.15077,
    "h": 277.8
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#201171
secondary
#96A836
accent
#F137D4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #201171

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

Preview Lab → · Contrast checker → · Palette generator →

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