#22114E#22114E

#22114E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.105 H 289.1°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#22114E
RGBrgb(34, 17, 78)
HSLhsl(257, 64%, 19%)
HSVhsv(257, 78%, 31%)
CMYKcmyk(56.4%, 78.2%, 0%, 69.4%)
CIE-LABlab(11.21, 25.95, -34.47)
CIE-LCHlch(11.21, 43.15, 306.97°)
OKLaboklab(24.6% 0.0342 -0.099)
OKLCHoklch(24.6% 0.105 289.1)
XYZxyz(2.2349, 1.2909, 7.3377)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22114E #3D4E11
analogous
#111E4E #22114E #40114E
triadic
#22114E #4E2211 #114E22
tetradic
#22114E #4E111E #3D4E11 #114E40
square
#22114E #4E111E #3D4E11 #114E40
split-complementary
#22114E #4E4011 #1E4E11
monochromatic
#0B0519 #0C061C #22114E #381C80 #4E27B2

Accessibility & contrast

On white

16.69
#22114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22114E
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22114E#FFFFFF#000000##FFFFFF
##22114E1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#12212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #22114e;
/* rgb */ color: rgb(34, 17, 78);
/* oklch */ color: oklch(24.6% 0.105 289.1);
Tailwind
colors: {
  custom: {
    50: '#635080',
    500: '#22114e',
    950: '#000000',
  },
}
SCSS
$custom: #22114e;
$custom-light: #635080;
$custom-dark: #000000;
JSON
{
  "hex": "#22114e",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 256.721,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24602,
    "c": 0.10475,
    "h": 289.1
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#22114E
secondary
#708733
accent
#E741B9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #22114E

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

Preview Lab → · Contrast checker → · Palette generator →

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