#220843#220843

#220843 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.102 H 297.2°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#220843
RGBrgb(34, 8, 67)
HSLhsl(266, 79%, 15%)
HSVhsv(266, 88%, 26%)
CMYKcmyk(49.3%, 88.1%, 0%, 73.7%)
CIE-LABlab(8.30, 27.53, -31.56)
CIE-LCHlch(8.30, 41.88, 311.10°)
OKLaboklab(22.2% 0.0465 -0.0904)
OKLCHoklch(22.2% 0.102 297.2)
XYZxyz(1.7594, 0.9190, 5.3938)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220843 #294308
analogous
#080B43 #220843 #400843
triadic
#220843 #432208 #084322
tetradic
#220843 #43080B #294308 #084340
square
#220843 #43080B #294308 #084340
split-complementary
#220843 #434008 #0B4308
monochromatic
#0E031B #0E031B #220843 #3E0F7A #5915B0

Accessibility & contrast

On white

17.74
#220843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220843
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220843#FFFFFF#000000##FFFFFF
##2208431.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001742
Tritanopia (blue-blind)
#191825
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220843;
/* rgb */ color: rgb(34, 8, 67);
/* oklch */ color: oklch(22.2% 0.102 297.2);
Tailwind
colors: {
  custom: {
    50: '#624b78',
    500: '#220843',
    950: '#000000',
  },
}
SCSS
$custom: #220843;
$custom-light: #624b78;
$custom-dark: #000000;
JSON
{
  "hex": "#220843",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 266.441,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22201,
    "c": 0.10165,
    "h": 297.2
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#220843
secondary
#598125
accent
#F5339F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220843

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

Preview Lab → · Contrast checker → · Palette generator →

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