#201338#201338

#201338 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.7% C 0.069 H 296.7°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#201338
RGBrgb(32, 19, 56)
HSLhsl(261, 49%, 15%)
HSVhsv(261, 66%, 22%)
CMYKcmyk(42.9%, 66.1%, 0%, 78%)
CIE-LABlab(9.47, 16.81, -21.81)
CIE-LCHlch(9.47, 27.53, 307.61°)
OKLaboklab(22.66% 0.0311 -0.0619)
OKLCHoklch(22.66% 0.069 296.7)
XYZxyz(1.5422, 1.0583, 3.8636)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201338 #2B3813
analogous
#131938 #201338 #331338
triadic
#201338 #382013 #133820
tetradic
#201338 #381319 #2B3813 #133833
square
#201338 #381319 #2B3813 #133833
split-complementary
#201338 #383313 #193813
monochromatic
#0D0817 #0D0817 #201338 #3A2366 #543293

Accessibility & contrast

On white

17.33
#201338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#201338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201338
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201338#FFFFFF#000000##FFFFFF
##2013381.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B39
Deuteranopia (green-blind)
#061A37
Tritanopia (blue-blind)
#1A1B23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201338;
/* rgb */ color: rgb(32, 19, 56);
/* oklch */ color: oklch(22.7% 0.069 296.7);
Tailwind
colors: {
  custom: {
    50: '#5d516f',
    500: '#201338',
    950: '#000000',
  },
}
SCSS
$custom: #201338;
$custom-light: #5d516f;
$custom-dark: #000000;
JSON
{
  "hex": "#201338",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 261.081,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22662,
    "c": 0.06926,
    "h": 296.7
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#201338
secondary
#5C7037
accent
#D94FA8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #201338

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

Preview Lab → · Contrast checker → · Palette generator →

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