#220F45#220F45

#220F45 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.095 H 293.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#220F45
RGBrgb(34, 15, 69)
HSLhsl(261, 64%, 16%)
HSVhsv(261, 78%, 27%)
CMYKcmyk(50.7%, 78.3%, 0%, 72.9%)
CIE-LABlab(9.89, 24.22, -30.37)
CIE-LCHlch(9.89, 38.85, 308.57°)
OKLaboklab(23.38% 0.0385 -0.087)
OKLCHoklch(23.38% 0.095 293.9)
XYZxyz(1.9044, 1.1113, 5.7432)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F45 #32450F
analogous
#0F1745 #220F45 #3D0F45
triadic
#220F45 #45220F #0F4522
tetradic
#220F45 #450F17 #32450F #0F453D
square
#220F45 #450F17 #32450F #0F453D
split-complementary
#220F45 #453D0F #17450F
monochromatic
#0C0519 #0C0519 #220F45 #3B1A77 #5425AA

Accessibility & contrast

On white

17.18
#220F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F45
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F45#FFFFFF#000000##FFFFFF
##220F451.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#181D28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220f45;
/* rgb */ color: rgb(34, 15, 69);
/* oklch */ color: oklch(23.4% 0.095 293.9);
Tailwind
colors: {
  custom: {
    50: '#614f79',
    500: '#220f45',
    950: '#000000',
  },
}
SCSS
$custom: #220f45;
$custom-light: #614f79;
$custom-dark: #000000;
JSON
{
  "hex": "#220f45",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 261.111,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23384,
    "c": 0.09509,
    "h": 293.9
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#220F45
secondary
#647F30
accent
#E741AD
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #220F45

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

Preview Lab → · Contrast checker → · Palette generator →

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