#201452#201452

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

Color values

HEX#201452
RGBrgb(32, 20, 82)
HSLhsl(252, 61%, 20%)
HSVhsv(252, 76%, 32%)
CMYKcmyk(61%, 75.6%, 0%, 67.8%)
CIE-LABlab(12.07, 25.06, -35.83)
CIE-LCHlch(12.07, 43.72, 304.98°)
OKLaboklab(25.28% 0.027 -0.1031)
OKLCHoklch(25.28% 0.107 284.7)
XYZxyz(2.3683, 1.4164, 8.1296)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201452 #465214
analogous
#142752 #201452 #3F1452
triadic
#201452 #522014 #145220
tetradic
#201452 #521427 #465214 #14523F
square
#201452 #521427 #465214 #14523F
split-complementary
#201452 #523F14 #275214
monochromatic
#0A0619 #0D0821 #201452 #332083 #462CB4

Accessibility & contrast

On white

16.36
#201452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201452
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201452#FFFFFF#000000##FFFFFF
##2014521.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#082431
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201452;
/* rgb */ color: rgb(32, 20, 82);
/* oklch */ color: oklch(25.3% 0.107 284.7);
Tailwind
colors: {
  custom: {
    50: '#625283',
    500: '#201452',
    950: '#000000',
  },
}
SCSS
$custom: #201452;
$custom-light: #625283;
$custom-dark: #000000;
JSON
{
  "hex": "#201452",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 251.613,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.25281,
    "c": 0.10654,
    "h": 284.7
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#201452
secondary
#7A8A38
accent
#E444C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #201452

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

Preview Lab → · Contrast checker → · Palette generator →

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