#201256#201256

#201256 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.115 H 284.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#201256
RGBrgb(32, 18, 86)
HSLhsl(252, 65%, 20%)
HSVhsv(252, 79%, 34%)
CMYKcmyk(62.8%, 79.1%, 0%, 66.3%)
CIE-LABlab(12.03, 27.69, -38.61)
CIE-LCHlch(12.03, 47.51, 305.65°)
OKLaboklab(25.39% 0.028 -0.1112)
OKLCHoklch(25.39% 0.115 284.1)
XYZxyz(2.4912, 1.4114, 8.9435)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201256 #485612
analogous
#122656 #201256 #421256
triadic
#201256 #562012 #125620
tetradic
#201256 #561226 #485612 #125642
square
#201256 #561226 #485612 #125642
split-complementary
#201256 #564212 #265612
monochromatic
#090519 #0D0723 #201256 #331D89 #4627BB

Accessibility & contrast

On white

16.38
#201256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#201256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201256
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201256#FFFFFF#000000##FFFFFF
##2012561.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201256;
/* rgb */ color: rgb(32, 18, 86);
/* oklch */ color: oklch(25.4% 0.115 284.1);
Tailwind
colors: {
  custom: {
    50: '#635186',
    500: '#201256',
    950: '#000000',
  },
}
SCSS
$custom: #201256;
$custom-light: #635186;
$custom-dark: #000000;
JSON
{
  "hex": "#201256",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 252.353,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25385,
    "c": 0.11465,
    "h": 284.1
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#201256
secondary
#7C8F35
accent
#E83FC6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201256

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

Preview Lab → · Contrast checker → · Palette generator →

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