#22113F#22113F

#22113F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.084 H 296.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#22113F
RGBrgb(34, 17, 63)
HSLhsl(262, 58%, 16%)
HSVhsv(262, 73%, 25%)
CMYKcmyk(46%, 73%, 0%, 75.3%)
CIE-LABlab(9.80, 21.02, -26.28)
CIE-LCHlch(9.80, 33.65, 308.65°)
OKLaboklab(23.15% 0.0369 -0.0749)
OKLCHoklch(23.15% 0.084 296.2)
XYZxyz(1.7571, 1.0998, 4.8214)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22113F #2E3F11
analogous
#11173F #22113F #39113F
triadic
#22113F #3F2211 #113F22
tetradic
#22113F #3F1117 #2E3F11 #113F39
square
#22113F #3F1117 #2E3F11 #113F39
split-complementary
#22113F #3F3911 #173F11
monochromatic
#0D0718 #0D0718 #22113F #3C1E6F #562B9F

Accessibility & contrast

On white

17.21
#22113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22113F
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22113F#FFFFFF#000000##FFFFFF
##22113F1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#1B1C26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22113f;
/* rgb */ color: rgb(34, 17, 63);
/* oklch */ color: oklch(23.1% 0.084 296.2);
Tailwind
colors: {
  custom: {
    50: '#605074',
    500: '#22113f',
    950: '#000000',
  },
}
SCSS
$custom: #22113f;
$custom-light: #605074;
$custom-dark: #000000;
JSON
{
  "hex": "#22113f",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 262.174,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23147,
    "c": 0.08355,
    "h": 296.2
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#22113F
secondary
#5F7833
accent
#E147A8
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22113F

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

Preview Lab → · Contrast checker → · Palette generator →

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