#201243#201243

#201243 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.088 H 291.3°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#201243
RGBrgb(32, 18, 67)
HSLhsl(257, 58%, 17%)
HSVhsv(257, 73%, 26%)
CMYKcmyk(52.2%, 73.1%, 0%, 73.7%)
CIE-LABlab(10.14, 21.19, -28.56)
CIE-LCHlch(10.14, 35.56, 306.58°)
OKLaboklab(23.45% 0.0318 -0.0817)
OKLCHoklch(23.45% 0.088 291.3)
XYZxyz(1.8248, 1.1449, 5.4339)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201243 #354312
analogous
#121D43 #201243 #391243
triadic
#201243 #432012 #124320
tetradic
#201243 #43121D #354312 #124339
square
#201243 #43121D #354312 #124339
split-complementary
#201243 #433912 #1D4312
monochromatic
#0C0618 #0C0618 #201243 #371F73 #4E2CA3

Accessibility & contrast

On white

17.09
#201243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#201243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201243
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201243#FFFFFF#000000##FFFFFF
##2012431.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#151E28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #201243;
/* rgb */ color: rgb(32, 18, 67);
/* oklch */ color: oklch(23.5% 0.088 291.3);
Tailwind
colors: {
  custom: {
    50: '#5f5078',
    500: '#201243',
    950: '#000000',
  },
}
SCSS
$custom: #201243;
$custom-light: #5f5078;
$custom-dark: #000000;
JSON
{
  "hex": "#201243",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 257.143,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23451,
    "c": 0.08769,
    "h": 291.3
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#201243
secondary
#687C35
accent
#E147B5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #201243

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

Preview Lab → · Contrast checker → · Palette generator →

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