#220E30#220E30

#220E30 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.3% C 0.067 H 308.9°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#220E30
RGBrgb(34, 14, 48)
HSLhsl(275, 55%, 12%)
HSVhsv(275, 71%, 19%)
CMYKcmyk(29.2%, 70.8%, 0%, 81.2%)
CIE-LABlab(7.84, 18.35, -18.58)
CIE-LCHlch(7.84, 26.11, 314.64°)
OKLaboklab(21.33% 0.0423 -0.0523)
OKLCHoklch(21.33% 0.067 308.9)
XYZxyz(1.3501, 0.8676, 2.8921)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E30 #1C300E
analogous
#110E30 #220E30 #300E2D
triadic
#220E30 #30220E #0E3022
tetradic
#220E30 #30110E #1C300E #0E2D30
square
#220E30 #30110E #1C300E #0E2D30
split-complementary
#220E30 #2D300E #0E3011
monochromatic
#110718 #110718 #220E30 #441C5F #652A8F

Accessibility & contrast

On white

17.89
#220E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E30
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E30#FFFFFF#000000##FFFFFF
##220E301.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#0A172F
Tritanopia (blue-blind)
#20141D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220e30;
/* rgb */ color: rgb(34, 14, 48);
/* oklch */ color: oklch(21.3% 0.067 308.9);
Tailwind
colors: {
  custom: {
    50: '#5e4d68',
    500: '#220e30',
    950: '#000000',
  },
}
SCSS
$custom: #220e30;
$custom-light: #5e4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#220e30",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 275.294,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21331,
    "c": 0.06723,
    "h": 308.9
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#220E30
secondary
#486A2F
accent
#DE4A87
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220E30

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

Preview Lab → · Contrast checker → · Palette generator →

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