#201230#201230

#201230 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.8% C 0.059 H 303.5°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#201230
RGBrgb(32, 18, 48)
HSLhsl(268, 45%, 13%)
HSVhsv(268, 63%, 19%)
CMYKcmyk(33.3%, 62.5%, 0%, 81.2%)
CIE-LABlab(8.59, 14.94, -17.38)
CIE-LCHlch(8.59, 22.92, 310.68°)
OKLaboklab(21.82% 0.0323 -0.0489)
OKLCHoklch(21.82% 0.059 303.5)
XYZxyz(1.3454, 0.9531, 2.9088)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201230 #223012
analogous
#121330 #201230 #2F1230
triadic
#201230 #302012 #123020
tetradic
#201230 #301213 #223012 #12302F
square
#201230 #301213 #223012 #12302F
split-complementary
#201230 #302F12 #133012
monochromatic
#0F0816 #0F0816 #201230 #3E235D #5B3389

Accessibility & contrast

On white

17.64
#201230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#201230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201230
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201230#FFFFFF#000000##FFFFFF
##2012301.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081831
Deuteranopia (green-blind)
#0C192F
Tritanopia (blue-blind)
#1D181E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201230;
/* rgb */ color: rgb(32, 18, 48);
/* oklch */ color: oklch(21.8% 0.059 303.5);
Tailwind
colors: {
  custom: {
    50: '#5c5068',
    500: '#201230',
    950: '#000000',
  },
}
SCSS
$custom: #201230;
$custom-light: #5c5068;
$custom-dark: #000000;
JSON
{
  "hex": "#201230",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 268,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21823,
    "c": 0.05861,
    "h": 303.5
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#201230
secondary
#516836
accent
#D55398
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201230

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

Preview Lab → · Contrast checker → · Palette generator →

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