#220E3F#220E3F

#220E3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.088 H 297.6°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#220E3F
RGBrgb(34, 14, 63)
HSLhsl(264, 64%, 15%)
HSVhsv(264, 78%, 25%)
CMYKcmyk(46%, 77.8%, 0%, 75.3%)
CIE-LABlab(9.10, 22.92, -27.41)
CIE-LCHlch(9.10, 35.73, 309.91°)
OKLaboklab(22.65% 0.0409 -0.0782)
OKLCHoklch(22.65% 0.088 297.6)
XYZxyz(1.7137, 1.0130, 4.8069)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E3F #2B3F0E
analogous
#0E123F #220E3F #3A0E3F
triadic
#220E3F #3F220E #0E3F22
tetradic
#220E3F #3F0E12 #2B3F0E #0E3F3A
square
#220E3F #3F0E12 #2B3F0E #0E3F3A
split-complementary
#220E3F #3F3A0E #123F0E
monochromatic
#0E0619 #0E0619 #220E3F #3D1971 #5824A3

Accessibility & contrast

On white

17.46
#220E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220E3F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E3F#FFFFFF#000000##FFFFFF
##220E3F1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#1B1A25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220e3f;
/* rgb */ color: rgb(34, 14, 63);
/* oklch */ color: oklch(22.6% 0.088 297.6);
Tailwind
colors: {
  custom: {
    50: '#604e74',
    500: '#220e3f',
    950: '#000000',
  },
}
SCSS
$custom: #220e3f;
$custom-light: #604e74;
$custom-dark: #000000;
JSON
{
  "hex": "#220e3f",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 264.49,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22645,
    "c": 0.08828,
    "h": 297.6
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#220E3F
secondary
#5B7A2F
accent
#E741A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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