#201456#201456

#201456 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.112 H 283.5°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#201456
RGBrgb(32, 20, 86)
HSLhsl(251, 62%, 21%)
HSVhsv(251, 77%, 34%)
CMYKcmyk(62.8%, 76.7%, 0%, 66.3%)
CIE-LABlab(12.47, 26.46, -37.88)
CIE-LCHlch(12.47, 46.20, 304.93°)
OKLaboklab(25.7% 0.0262 -0.1091)
OKLCHoklch(25.7% 0.112 283.5)
XYZxyz(2.5250, 1.4791, 8.9547)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201456 #4A5614
analogous
#142956 #201456 #411456
triadic
#201456 #562014 #145620
tetradic
#201456 #561429 #4A5614 #145641
square
#201456 #561429 #4A5614 #145641
split-complementary
#201456 #564114 #295614
monochromatic
#090619 #0E0824 #201456 #322088 #452BB9

Accessibility & contrast

On white

16.21
#201456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#201456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201456
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201456#FFFFFF#000000##FFFFFF
##2014561.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#032633
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201456;
/* rgb */ color: rgb(32, 20, 86);
/* oklch */ color: oklch(25.7% 0.112 283.5);
Tailwind
colors: {
  custom: {
    50: '#635386',
    500: '#201456',
    950: '#000000',
  },
}
SCSS
$custom: #201456;
$custom-light: #635386;
$custom-dark: #000000;
JSON
{
  "hex": "#201456",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 250.909,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25698,
    "c": 0.11218,
    "h": 283.5
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#201456
secondary
#7E8E38
accent
#E542C8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201456

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

Preview Lab → · Contrast checker → · Palette generator →

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