#201235#201235

#201235 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.066 H 299.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#201235
RGBrgb(32, 18, 53)
HSLhsl(264, 49%, 14%)
HSVhsv(264, 66%, 21%)
CMYKcmyk(39.6%, 66%, 0%, 79.2%)
CIE-LABlab(8.96, 16.53, -20.45)
CIE-LCHlch(8.96, 26.29, 308.95°)
OKLaboklab(22.22% 0.0326 -0.0579)
OKLCHoklch(22.22% 0.066 299.4)
XYZxyz(1.4544, 0.9967, 3.4832)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201235 #273512
analogous
#121635 #201235 #321235
triadic
#201235 #352012 #123520
tetradic
#201235 #351216 #273512 #123532
square
#201235 #351216 #273512 #123532
split-complementary
#201235 #353212 #163512
monochromatic
#0E0817 #0E0817 #201235 #3C2263 #573190

Accessibility & contrast

On white

17.51
#201235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201235
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201235#FFFFFF#000000##FFFFFF
##2012351.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#1C1921
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201235;
/* rgb */ color: rgb(32, 18, 53);
/* oklch */ color: oklch(22.2% 0.066 299.4);
Tailwind
colors: {
  custom: {
    50: '#5d506c',
    500: '#201235',
    950: '#000000',
  },
}
SCSS
$custom: #201235;
$custom-light: #5d506c;
$custom-dark: #000000;
JSON
{
  "hex": "#201235",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 264,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22216,
    "c": 0.06644,
    "h": 299.4
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#201235
secondary
#576D35
accent
#D94FA2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #201235

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

Preview Lab → · Contrast checker → · Palette generator →

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