#220F38#220F38

#220F38 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.077 H 301.8°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#220F38
RGBrgb(34, 15, 56)
HSLhsl(268, 58%, 14%)
HSVhsv(268, 73%, 22%)
CMYKcmyk(39.3%, 73.2%, 0%, 78%)
CIE-LABlab(8.72, 20.11, -23.01)
CIE-LCHlch(8.72, 30.56, 311.15°)
OKLaboklab(22.17% 0.0404 -0.0653)
OKLCHoklch(22.17% 0.077 301.8)
XYZxyz(1.5442, 0.9672, 3.8460)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F38 #25380F
analogous
#0F1138 #220F38 #370F38
triadic
#220F38 #38220F #0F3822
tetradic
#220F38 #380F11 #25380F #0F3837
square
#220F38 #380F11 #25380F #0F3837
split-complementary
#220F38 #38370F #11380F
monochromatic
#0F0618 #0F0618 #220F38 #3F1C68 #5D2999

Accessibility & contrast

On white

17.60
#220F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F38
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F38#FFFFFF#000000##FFFFFF
##220F381.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#031937
Tritanopia (blue-blind)
#1E1821
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220f38;
/* rgb */ color: rgb(34, 15, 56);
/* oklch */ color: oklch(22.2% 0.077 301.8);
Tailwind
colors: {
  custom: {
    50: '#5f4e6f',
    500: '#220f38',
    950: '#000000',
  },
}
SCSS
$custom: #220f38;
$custom-light: #5f4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#220f38",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 267.805,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22174,
    "c": 0.07682,
    "h": 301.8
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#220F38
secondary
#547230
accent
#E1479A
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220F38

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

Preview Lab → · Contrast checker → · Palette generator →

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