#220236#220236

#220236 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.096 H 308.1°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#220236
RGBrgb(34, 2, 54)
HSLhsl(277, 93%, 11%)
HSVhsv(277, 96%, 21%)
CMYKcmyk(37%, 96.3%, 0%, 78.8%)
CIE-LABlab(5.87, 26.73, -26.15)
CIE-LCHlch(5.87, 37.39, 315.63°)
OKLaboklab(19.94% 0.0592 -0.0755)
OKLCHoklch(19.94% 0.096 308.1)
XYZxyz(1.3471, 0.6499, 3.5438)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220236 #163602
analogous
#080236 #220236 #360230
triadic
#220236 #362202 #023622
tetradic
#220236 #360802 #163602 #023036
square
#220236 #360802 #163602 #023036
split-complementary
#220236 #303602 #023608
monochromatic
#13011E #13011E #220236 #470471 #6C06AC

Accessibility & contrast

On white

18.58
#220236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220236
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220236#FFFFFF#000000##FFFFFF
##2202361.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#1F0F1C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220236;
/* rgb */ color: rgb(34, 2, 54);
/* oklch */ color: oklch(19.9% 0.096 308.1);
Tailwind
colors: {
  custom: {
    50: '#60476d',
    500: '#220236',
    950: '#000000',
  },
}
SCSS
$custom: #220236;
$custom-light: #60476d;
$custom-dark: #000000;
JSON
{
  "hex": "#220236",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 276.923,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19944,
    "c": 0.09596,
    "h": 308.1
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#220236
secondary
#3F7A1A
accent
#FF297B
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #220236

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

Preview Lab → · Contrast checker → · Palette generator →

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