#220F4B#220F4B

#220F4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.103 H 291.0°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#220F4B
RGBrgb(34, 15, 75)
HSLhsl(259, 67%, 18%)
HSVhsv(259, 80%, 29%)
CMYKcmyk(54.7%, 80%, 0%, 70.6%)
CIE-LABlab(10.48, 26.16, -33.59)
CIE-LCHlch(10.48, 42.58, 307.91°)
OKLaboklab(23.99% 0.037 -0.0964)
OKLCHoklch(23.99% 0.103 291)
XYZxyz(2.1001, 1.1896, 6.7742)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F4B #384B0F
analogous
#0F1A4B #220F4B #400F4B
triadic
#220F4B #4B220F #0F4B22
tetradic
#220F4B #4B0F1A #384B0F #0F4B40
square
#220F4B #4B0F1A #384B0F #0F4B40
split-complementary
#220F4B #4B400F #1A4B0F
monochromatic
#0C051A #0C051A #220F4B #39197E #5023B1

Accessibility & contrast

On white

16.96
#220F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F4B
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F4B#FFFFFF#000000##FFFFFF
##220F4B1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#141F2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220f4b;
/* rgb */ color: rgb(34, 15, 75);
/* oklch */ color: oklch(24.0% 0.103 291.0);
Tailwind
colors: {
  custom: {
    50: '#624f7e',
    500: '#220f4b',
    950: '#000000',
  },
}
SCSS
$custom: #220f4b;
$custom-light: #624f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#220f4b",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 259,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2399,
    "c": 0.10328,
    "h": 291
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#220F4B
secondary
#6A8530
accent
#EA3EB3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #220F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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