#220D3F#220D3F

#220D3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.090 H 298.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#220D3F
RGBrgb(34, 13, 63)
HSLhsl(265, 66%, 15%)
HSVhsv(265, 79%, 25%)
CMYKcmyk(46%, 79.4%, 0%, 75.3%)
CIE-LABlab(8.88, 23.53, -27.77)
CIE-LCHlch(8.88, 36.39, 310.28°)
OKLaboklab(22.49% 0.0421 -0.0793)
OKLCHoklch(22.49% 0.09 298)
XYZxyz(1.7006, 0.9868, 4.8025)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D3F #2A3F0D
analogous
#0D113F #220D3F #3B0D3F
triadic
#220D3F #3F220D #0D3F22
tetradic
#220D3F #3F0D11 #2A3F0D #0D3F3B
square
#220D3F #3F0D11 #2A3F0D #0D3F3B
split-complementary
#220D3F #3F3B0D #113F0D
monochromatic
#0E0519 #0E0519 #220D3F #3D1772 #5922A4

Accessibility & contrast

On white

17.54
#220D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D3F
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D3F#FFFFFF#000000##FFFFFF
##220D3F1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#1B1924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220d3f;
/* rgb */ color: rgb(34, 13, 63);
/* oklch */ color: oklch(22.5% 0.090 298.0);
Tailwind
colors: {
  custom: {
    50: '#604d74',
    500: '#220d3f',
    950: '#000000',
  },
}
SCSS
$custom: #220d3f;
$custom-light: #604d74;
$custom-dark: #000000;
JSON
{
  "hex": "#220d3f",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 265.2,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22489,
    "c": 0.08978,
    "h": 298
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#220D3F
secondary
#5A7B2D
accent
#E93FA1
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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