#220F49#220F49

#220F49 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.101 H 291.9°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#220F49
RGBrgb(34, 15, 73)
HSLhsl(260, 66%, 17%)
HSVhsv(260, 79%, 29%)
CMYKcmyk(53.4%, 79.5%, 0%, 71.4%)
CIE-LABlab(10.28, 25.52, -32.53)
CIE-LCHlch(10.28, 41.34, 308.11°)
OKLaboklab(23.79% 0.0376 -0.0933)
OKLCHoklch(23.79% 0.101 291.9)
XYZxyz(2.0328, 1.1627, 6.4194)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F49 #36490F
analogous
#0F1949 #220F49 #3F0F49
triadic
#220F49 #49220F #0F4922
tetradic
#220F49 #490F19 #36490F #0F493F
square
#220F49 #490F19 #36490F #0F493F
split-complementary
#220F49 #493F0F #19490F
monochromatic
#0C0519 #0C0519 #220F49 #3A197C #5124AF

Accessibility & contrast

On white

17.04
#220F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#220F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F49
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F49#FFFFFF#000000##FFFFFF
##220F491.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#161E2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220f49;
/* rgb */ color: rgb(34, 15, 73);
/* oklch */ color: oklch(23.8% 0.101 291.9);
Tailwind
colors: {
  custom: {
    50: '#624f7c',
    500: '#220f49',
    950: '#000000',
  },
}
SCSS
$custom: #220f49;
$custom-light: #624f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220f49",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 259.655,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23785,
    "c": 0.10057,
    "h": 291.9
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#220F49
secondary
#688330
accent
#E93FB1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #220F49

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

Preview Lab → · Contrast checker → · Palette generator →

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