#22113D#22113D

#22113D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.081 H 297.4°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#22113D
RGBrgb(34, 17, 61)
HSLhsl(263, 56%, 15%)
HSVhsv(263, 72%, 24%)
CMYKcmyk(44.3%, 72.1%, 0%, 76.1%)
CIE-LABlab(9.62, 20.37, -25.13)
CIE-LCHlch(9.62, 32.35, 309.02°)
OKLaboklab(22.97% 0.0372 -0.0716)
OKLCHoklch(22.97% 0.081 297.4)
XYZxyz(1.7022, 1.0779, 4.5323)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22113D #2C3D11
analogous
#11163D #22113D #38113D
triadic
#22113D #3D2211 #113D22
tetradic
#22113D #3D1116 #2C3D11 #113D38
square
#22113D #3D1116 #2C3D11 #113D38
split-complementary
#22113D #3D3811 #163D11
monochromatic
#0D0718 #0D0718 #22113D #3D1E6D #572C9D

Accessibility & contrast

On white

17.28
#22113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#22113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22113D
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22113D#FFFFFF#000000##FFFFFF
##22113D1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#1C1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22113d;
/* rgb */ color: rgb(34, 17, 61);
/* oklch */ color: oklch(23.0% 0.081 297.4);
Tailwind
colors: {
  custom: {
    50: '#605073',
    500: '#22113d',
    950: '#000000',
  },
}
SCSS
$custom: #22113d;
$custom-light: #605073;
$custom-dark: #000000;
JSON
{
  "hex": "#22113d",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 263.182,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22967,
    "c": 0.08063,
    "h": 297.4
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#22113D
secondary
#5D7633
accent
#E048A5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22113D

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

Preview Lab → · Contrast checker → · Palette generator →

#22113D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva