#201257#201257

#201257 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.116 H 283.8°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#201257
RGBrgb(32, 18, 87)
HSLhsl(252, 66%, 21%)
HSVhsv(252, 79%, 34%)
CMYKcmyk(63.2%, 79.3%, 0%, 65.9%)
CIE-LABlab(12.14, 28.03, -39.11)
CIE-LCHlch(12.14, 48.12, 305.63°)
OKLaboklab(25.49% 0.0277 -0.1127)
OKLCHoklch(25.49% 0.116 283.8)
XYZxyz(2.5317, 1.4276, 9.1571)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201257 #495712
analogous
#122657 #201257 #421257
triadic
#201257 #572012 #125720
tetradic
#201257 #571226 #495712 #125742
square
#201257 #571226 #495712 #125742
split-complementary
#201257 #574212 #265712
monochromatic
#090519 #0D0824 #201257 #331C8A #4527BC

Accessibility & contrast

On white

16.33
#201257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#201257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201257
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201257#FFFFFF#000000##FFFFFF
##2012571.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#022533
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201257;
/* rgb */ color: rgb(32, 18, 87);
/* oklch */ color: oklch(25.5% 0.116 283.8);
Tailwind
colors: {
  custom: {
    50: '#635187',
    500: '#201257',
    950: '#000000',
  },
}
SCSS
$custom: #201257;
$custom-light: #635187;
$custom-dark: #000000;
JSON
{
  "hex": "#201257",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 252.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25493,
    "c": 0.11602,
    "h": 283.8
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#201257
secondary
#7D9035
accent
#E93FC6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201257

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

Preview Lab → · Contrast checker → · Palette generator →

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