#220C45#220C45

#220C45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.099 H 294.9°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#220C45
RGBrgb(34, 12, 69)
HSLhsl(263, 70%, 16%)
HSVhsv(263, 83%, 27%)
CMYKcmyk(50.7%, 82.6%, 0%, 72.9%)
CIE-LABlab(9.26, 25.98, -31.40)
CIE-LCHlch(9.26, 40.75, 309.61°)
OKLaboklab(22.94% 0.0418 -0.0899)
OKLCHoklch(22.94% 0.099 294.9)
XYZxyz(1.8650, 1.0326, 5.7301)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C45 #2F450C
analogous
#0C1245 #220C45 #3E0C45
triadic
#220C45 #45220C #0C4522
tetradic
#220C45 #450C12 #2F450C #0C453E
square
#220C45 #450C12 #2F450C #0C453E
split-complementary
#220C45 #453E0C #12450C
monochromatic
#0D051A #0D051A #220C45 #3C1579 #551EAD

Accessibility & contrast

On white

17.40
#220C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#220C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C45
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C45#FFFFFF#000000##FFFFFF
##220C451.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#181B27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220c45;
/* rgb */ color: rgb(34, 12, 69);
/* oklch */ color: oklch(22.9% 0.099 294.9);
Tailwind
colors: {
  custom: {
    50: '#624d79',
    500: '#220c45',
    950: '#000000',
  },
}
SCSS
$custom: #220c45;
$custom-light: #624d79;
$custom-dark: #000000;
JSON
{
  "hex": "#220c45",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 263.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2294,
    "c": 0.09917,
    "h": 294.9
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#220C45
secondary
#60812C
accent
#ED3BA8
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220C45

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

Preview Lab → · Contrast checker → · Palette generator →

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