#220B30#220B30

#220B30 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.073 H 310.2°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#220B30
RGBrgb(34, 11, 48)
HSLhsl(277, 63%, 12%)
HSVhsv(277, 77%, 19%)
CMYKcmyk(29.2%, 77.1%, 0%, 81.2%)
CIE-LABlab(7.16, 20.13, -19.65)
CIE-LCHlch(7.16, 28.13, 315.69°)
OKLaboklab(20.82% 0.0469 -0.0556)
OKLCHoklch(20.82% 0.073 310.2)
XYZxyz(1.3128, 0.7929, 2.8796)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B30 #19300B
analogous
#100B30 #220B30 #300B2C
triadic
#220B30 #30220B #0B3022
tetradic
#220B30 #30100B #19300B #0B2C30
square
#220B30 #30100B #19300B #0B2C30
split-complementary
#220B30 #2C300B #0B3010
monochromatic
#120619 #120619 #220B30 #451662 #692294

Accessibility & contrast

On white

18.13
#220B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B30
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B30#FFFFFF#000000##FFFFFF
##220B301.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#07162F
Tritanopia (blue-blind)
#20121C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220b30;
/* rgb */ color: rgb(34, 11, 48);
/* oklch */ color: oklch(20.8% 0.073 310.2);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#220b30',
    950: '#000000',
  },
}
SCSS
$custom: #220b30;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#220b30",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 277.297,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20819,
    "c": 0.07275,
    "h": 310.2
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#220B30
secondary
#436D2A
accent
#E64280
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220B30

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

Preview Lab → · Contrast checker → · Palette generator →

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