#220F48#220F48

#220F48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.099 H 292.4°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#220F48
RGBrgb(34, 15, 72)
HSLhsl(260, 66%, 17%)
HSVhsv(260, 79%, 28%)
CMYKcmyk(52.8%, 79.2%, 0%, 71.8%)
CIE-LABlab(10.18, 25.19, -32.00)
CIE-LCHlch(10.18, 40.73, 308.22°)
OKLaboklab(23.68% 0.0378 -0.0917)
OKLCHoklch(23.68% 0.099 292.4)
XYZxyz(1.9999, 1.1495, 6.2461)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F48 #35480F
analogous
#0F1948 #220F48 #3F0F48
triadic
#220F48 #48220F #0F4822
tetradic
#220F48 #480F19 #35480F #0F483F
square
#220F48 #480F19 #35480F #0F483F
split-complementary
#220F48 #483F0F #19480F
monochromatic
#0C0519 #0C0519 #220F48 #3A1A7B #5224AD

Accessibility & contrast

On white

17.07
#220F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F48
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F48#FFFFFF#000000##FFFFFF
##220F481.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220f48;
/* rgb */ color: rgb(34, 15, 72);
/* oklch */ color: oklch(23.7% 0.099 292.4);
Tailwind
colors: {
  custom: {
    50: '#624f7c',
    500: '#220f48',
    950: '#000000',
  },
}
SCSS
$custom: #220f48;
$custom-light: #624f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#220f48",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 260,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23683,
    "c": 0.09921,
    "h": 292.4
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#220F48
secondary
#678230
accent
#E83FB0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #220F48

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

Preview Lab → · Contrast checker → · Palette generator →

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