#220C30#220C30

#220C30 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.071 H 309.8°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#220C30
RGBrgb(34, 12, 48)
HSLhsl(277, 60%, 12%)
HSVhsv(277, 75%, 19%)
CMYKcmyk(29.2%, 75%, 0%, 81.2%)
CIE-LABlab(7.38, 19.57, -19.31)
CIE-LCHlch(7.38, 27.49, 315.38°)
OKLaboklab(20.98% 0.0454 -0.0545)
OKLCHoklch(20.98% 0.071 309.8)
XYZxyz(1.3246, 0.8165, 2.8835)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C30 #1A300C
analogous
#100C30 #220C30 #300C2C
triadic
#220C30 #30220C #0C3022
tetradic
#220C30 #30100C #1A300C #0C2C30
square
#220C30 #30100C #1A300C #0C2C30
split-complementary
#220C30 #2C300C #0C3010
monochromatic
#110618 #110618 #220C30 #451861 #672492

Accessibility & contrast

On white

18.05
#220C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C30
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C30#FFFFFF#000000##FFFFFF
##220C301.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011531
Deuteranopia (green-blind)
#08172F
Tritanopia (blue-blind)
#20131C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220c30;
/* rgb */ color: rgb(34, 12, 48);
/* oklch */ color: oklch(21.0% 0.071 309.8);
Tailwind
colors: {
  custom: {
    50: '#5f4c68',
    500: '#220c30',
    950: '#000000',
  },
}
SCSS
$custom: #220c30;
$custom-light: #5f4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#220c30",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 276.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20983,
    "c": 0.07096,
    "h": 309.8
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#220C30
secondary
#456C2C
accent
#E34582
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220C30

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

Preview Lab → · Contrast checker → · Palette generator →

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