#201254#201254

#201254 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.112 H 284.7°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#201254
RGBrgb(32, 18, 84)
HSLhsl(253, 65%, 20%)
HSVhsv(253, 79%, 33%)
CMYKcmyk(61.9%, 78.6%, 0%, 67.1%)
CIE-LABlab(11.82, 27.01, -37.59)
CIE-LCHlch(11.82, 46.29, 305.69°)
OKLaboklab(25.17% 0.0285 -0.1082)
OKLCHoklch(25.17% 0.112 284.7)
XYZxyz(2.4117, 1.3796, 8.5250)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201254 #465412
analogous
#122554 #201254 #411254
triadic
#201254 #542012 #125420
tetradic
#201254 #541225 #465412 #125441
square
#201254 #541225 #465412 #125441
split-complementary
#201254 #544112 #255412
monochromatic
#0A0519 #0D0722 #201254 #331D86 #4628B9

Accessibility & contrast

On white

16.46
#201254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201254
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201254#FFFFFF#000000##FFFFFF
##2012541.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001D53
Tritanopia (blue-blind)
#062431
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #201254;
/* rgb */ color: rgb(32, 18, 84);
/* oklch */ color: oklch(25.2% 0.112 284.7);
Tailwind
colors: {
  custom: {
    50: '#635185',
    500: '#201254',
    950: '#000000',
  },
}
SCSS
$custom: #201254;
$custom-light: #635185;
$custom-dark: #000000;
JSON
{
  "hex": "#201254",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 252.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.2517,
    "c": 0.11191,
    "h": 284.7
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#201254
secondary
#7A8D35
accent
#E840C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201254

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

Preview Lab → · Contrast checker → · Palette generator →

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