#220F46#220F46

#220F46 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.096 H 293.4°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#220F46
RGBrgb(34, 15, 70)
HSLhsl(261, 65%, 17%)
HSVhsv(261, 79%, 27%)
CMYKcmyk(51.4%, 78.6%, 0%, 72.5%)
CIE-LABlab(9.98, 24.54, -30.92)
CIE-LCHlch(9.98, 39.48, 308.45°)
OKLaboklab(23.48% 0.0383 -0.0886)
OKLCHoklch(23.48% 0.096 293.4)
XYZxyz(1.9357, 1.1239, 5.9081)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F46 #33460F
analogous
#0F1846 #220F46 #3E0F46
triadic
#220F46 #46220F #0F4622
tetradic
#220F46 #460F18 #33460F #0F463E
square
#220F46 #460F18 #33460F #0F463E
split-complementary
#220F46 #463E0F #18460F
monochromatic
#0C0519 #0C0519 #220F46 #3A1A78 #5325AB

Accessibility & contrast

On white

17.15
#220F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#220F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F46
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F46#FFFFFF#000000##FFFFFF
##220F461.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#171D29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220f46;
/* rgb */ color: rgb(34, 15, 70);
/* oklch */ color: oklch(23.5% 0.096 293.4);
Tailwind
colors: {
  custom: {
    50: '#614f7a',
    500: '#220f46',
    950: '#000000',
  },
}
SCSS
$custom: #220f46;
$custom-light: #614f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220f46",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 260.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23483,
    "c": 0.09647,
    "h": 293.4
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#220F46
secondary
#658030
accent
#E840AE
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #220F46

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

Preview Lab → · Contrast checker → · Palette generator →

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