#22114F#22114F

#22114F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.106 H 288.7°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#22114F
RGBrgb(34, 17, 79)
HSLhsl(256, 65%, 19%)
HSVhsv(256, 78%, 31%)
CMYKcmyk(57%, 78.5%, 0%, 69%)
CIE-LABlab(11.31, 26.28, -34.99)
CIE-LCHlch(11.31, 43.76, 306.91°)
OKLaboklab(24.71% 0.034 -0.1005)
OKLCHoklch(24.71% 0.106 288.7)
XYZxyz(2.2710, 1.3054, 7.5279)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22114F #3E4F11
analogous
#111F4F #22114F #41114F
triadic
#22114F #4F2211 #114F22
tetradic
#22114F #4F111F #3E4F11 #114F41
square
#22114F #4F111F #3E4F11 #114F41
split-complementary
#22114F #4F4111 #1F4F11
monochromatic
#0B0519 #0C061D #22114F #381C81 #4D27B4

Accessibility & contrast

On white

16.65
#22114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#22114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22114F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22114F#FFFFFF#000000##FFFFFF
##22114F1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#11212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #22114f;
/* rgb */ color: rgb(34, 17, 79);
/* oklch */ color: oklch(24.7% 0.106 288.7);
Tailwind
colors: {
  custom: {
    50: '#635181',
    500: '#22114f',
    950: '#000000',
  },
}
SCSS
$custom: #22114f;
$custom-light: #635181;
$custom-dark: #000000;
JSON
{
  "hex": "#22114f",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 256.452,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24705,
    "c": 0.10612,
    "h": 288.7
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#22114F
secondary
#718833
accent
#E840BA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #22114F

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

Preview Lab → · Contrast checker → · Palette generator →

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