#201248#201248

#201248 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.095 H 289.1°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#201248
RGBrgb(32, 18, 72)
HSLhsl(256, 60%, 18%)
HSVhsv(256, 75%, 28%)
CMYKcmyk(55.6%, 75%, 0%, 71.8%)
CIE-LABlab(10.61, 22.90, -31.30)
CIE-LCHlch(10.61, 38.78, 306.19°)
OKLaboklab(23.94% 0.031 -0.0898)
OKLCHoklch(23.94% 0.095 289.1)
XYZxyz(1.9813, 1.2075, 6.2583)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201248 #3A4812
analogous
#121F48 #201248 #3B1248
triadic
#201248 #482012 #124820
tetradic
#201248 #48121F #3A4812 #12483B
square
#201248 #48121F #3A4812 #12483B
split-complementary
#201248 #483B12 #1F4812
monochromatic
#0B0618 #0B0618 #201248 #361E79 #4C2AAA

Accessibility & contrast

On white

16.91
#201248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#201248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201248
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201248#FFFFFF#000000##FFFFFF
##2012481.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#121F2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #201248;
/* rgb */ color: rgb(32, 18, 72);
/* oklch */ color: oklch(23.9% 0.095 289.1);
Tailwind
colors: {
  custom: {
    50: '#60517b',
    500: '#201248',
    950: '#000000',
  },
}
SCSS
$custom: #201248;
$custom-light: #60517b;
$custom-dark: #000000;
JSON
{
  "hex": "#201248",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 255.556,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23935,
    "c": 0.09498,
    "h": 289.1
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#201248
secondary
#6D8135
accent
#E345BA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #201248

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

Preview Lab → · Contrast checker → · Palette generator →

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