#220C43#220C43

#220C43 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.097 H 296.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#220C43
RGBrgb(34, 12, 67)
HSLhsl(264, 70%, 15%)
HSVhsv(264, 82%, 26%)
CMYKcmyk(49.3%, 82.1%, 0%, 73.7%)
CIE-LABlab(9.06, 25.36, -30.31)
CIE-LCHlch(9.06, 39.52, 309.91°)
OKLaboklab(22.74% 0.0423 -0.0868)
OKLCHoklch(22.74% 0.097 296)
XYZxyz(1.8040, 1.0082, 5.4087)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C43 #2D430C
analogous
#0C1143 #220C43 #3D0C43
triadic
#220C43 #43220C #0C4322
tetradic
#220C43 #430C11 #2D430C #0C433D
square
#220C43 #430C11 #2D430C #0C433D
split-complementary
#220C43 #433D0C #11430C
monochromatic
#0D051A #0D051A #220C43 #3C1577 #571FAB

Accessibility & contrast

On white

17.48
#220C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C43
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C43#FFFFFF#000000##FFFFFF
##220C431.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001942
Tritanopia (blue-blind)
#191A26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220c43;
/* rgb */ color: rgb(34, 12, 67);
/* oklch */ color: oklch(22.7% 0.097 296.0);
Tailwind
colors: {
  custom: {
    50: '#614d78',
    500: '#220c43',
    950: '#000000',
  },
}
SCSS
$custom: #220c43;
$custom-light: #614d78;
$custom-dark: #000000;
JSON
{
  "hex": "#220c43",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 264,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22736,
    "c": 0.09653,
    "h": 296
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#220C43
secondary
#5E7F2C
accent
#EC3BA6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #220C43

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

Preview Lab → · Contrast checker → · Palette generator →

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