#220C33#220C33

#220C33 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.075 H 307.1°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#220C33
RGBrgb(34, 12, 51)
HSLhsl(274, 62%, 12%)
HSVhsv(274, 76%, 20%)
CMYKcmyk(33.3%, 76.5%, 0%, 80%)
CIE-LABlab(7.61, 20.48, -21.15)
CIE-LCHlch(7.61, 29.44, 314.07°)
OKLaboklab(21.24% 0.0452 -0.0599)
OKLCHoklch(21.24% 0.075 307.1)
XYZxyz(1.3886, 0.8421, 3.2207)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C33 #1D330C
analogous
#0E0C33 #220C33 #330C31
triadic
#220C33 #33220C #0C3322
tetradic
#220C33 #330E0C #1D330C #0C3133
square
#220C33 #330E0C #1D330C #0C3133
split-complementary
#220C33 #31330C #0C330E
monochromatic
#110619 #110619 #220C33 #431865 #642396

Accessibility & contrast

On white

17.97
#220C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C33
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C33#FFFFFF#000000##FFFFFF
##220C331.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#051732
Tritanopia (blue-blind)
#1F141E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220c33;
/* rgb */ color: rgb(34, 12, 51);
/* oklch */ color: oklch(21.2% 0.075 307.1);
Tailwind
colors: {
  custom: {
    50: '#5f4c6b',
    500: '#220c33',
    950: '#000000',
  },
}
SCSS
$custom: #220c33;
$custom-light: #5f4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#220c33",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 273.846,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21235,
    "c": 0.07503,
    "h": 307.1
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#220C33
secondary
#496F2C
accent
#E5438A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220C33

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

Preview Lab → · Contrast checker → · Palette generator →

#220C33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva