#220338#220338

#220338 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.096 H 306.2°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#220338
RGBrgb(34, 3, 56)
HSLhsl(275, 90%, 12%)
HSVhsv(275, 95%, 22%)
CMYKcmyk(39.3%, 94.6%, 0%, 78%)
CIE-LABlab(6.24, 26.88, -27.02)
CIE-LCHlch(6.24, 38.11, 314.86°)
OKLaboklab(20.32% 0.0568 -0.0777)
OKLCHoklch(20.32% 0.096 306.2)
XYZxyz(1.4059, 0.6907, 3.7999)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220338 #193803
analogous
#070338 #220338 #380334
triadic
#220338 #382203 #033822
tetradic
#220338 #380703 #193803 #033438
square
#220338 #380703 #193803 #033438
split-complementary
#220338 #343803 #033807
monochromatic
#12021D #12021D #220338 #450672 #6909AC

Accessibility & contrast

On white

18.45
#220338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220338
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220338#FFFFFF#000000##FFFFFF
##2203381.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#1E111E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220338;
/* rgb */ color: rgb(34, 3, 56);
/* oklch */ color: oklch(20.3% 0.096 306.2);
Tailwind
colors: {
  custom: {
    50: '#60476f',
    500: '#220338',
    950: '#000000',
  },
}
SCSS
$custom: #220338;
$custom-light: #60476f;
$custom-dark: #000000;
JSON
{
  "hex": "#220338",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 275.094,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20315,
    "c": 0.09628,
    "h": 306.2
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#220338
secondary
#437B1C
accent
#FF2982
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #220338

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

Preview Lab → · Contrast checker → · Palette generator →

#220338 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva