#201234#201234

#201234 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.065 H 300.2°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#201234
RGBrgb(32, 18, 52)
HSLhsl(265, 49%, 14%)
HSVhsv(265, 65%, 20%)
CMYKcmyk(38.5%, 65.4%, 0%, 79.6%)
CIE-LABlab(8.89, 16.21, -19.84)
CIE-LCHlch(8.89, 25.62, 309.24°)
OKLaboklab(22.14% 0.0326 -0.0561)
OKLCHoklch(22.14% 0.065 300.2)
XYZxyz(1.4317, 0.9876, 3.3633)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201234 #263412
analogous
#121534 #201234 #311234
triadic
#201234 #342012 #123420
tetradic
#201234 #341215 #263412 #123431
square
#201234 #341215 #263412 #123431
split-complementary
#201234 #343112 #153412
monochromatic
#0E0817 #0E0817 #201234 #3C2261 #58318F

Accessibility & contrast

On white

17.54
#201234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201234
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201234#FFFFFF#000000##FFFFFF
##2012341.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051935
Deuteranopia (green-blind)
#091933
Tritanopia (blue-blind)
#1C1920
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201234;
/* rgb */ color: rgb(32, 18, 52);
/* oklch */ color: oklch(22.1% 0.065 300.2);
Tailwind
colors: {
  custom: {
    50: '#5d506c',
    500: '#201234',
    950: '#000000',
  },
}
SCSS
$custom: #201234;
$custom-light: #5d506c;
$custom-dark: #000000;
JSON
{
  "hex": "#201234",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 264.706,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22135,
    "c": 0.06488,
    "h": 300.2
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#201234
secondary
#566C35
accent
#D850A0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #201234

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

Preview Lab → · Contrast checker → · Palette generator →

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