#22143F#22143F

#22143F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.079 H 294.7°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#22143F
RGBrgb(34, 20, 63)
HSLhsl(260, 52%, 16%)
HSVhsv(260, 68%, 25%)
CMYKcmyk(46%, 68.3%, 0%, 75.3%)
CIE-LABlab(10.55, 19.00, -25.06)
CIE-LCHlch(10.55, 31.45, 307.16°)
OKLaboklab(23.7% 0.0328 -0.0713)
OKLCHoklch(23.7% 0.079 294.7)
XYZxyz(1.8068, 1.1992, 4.8379)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22143F #313F14
analogous
#141C3F #22143F #38143F
triadic
#22143F #3F2214 #143F22
tetradic
#22143F #3F141C #313F14 #143F38
square
#22143F #3F141C #313F14 #143F38
split-complementary
#22143F #3F3814 #1C3F14
monochromatic
#0D0717 #0D0717 #22143F #3B236D #54319C

Accessibility & contrast

On white

16.94
#22143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#22143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22143F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22143F#FFFFFF#000000##FFFFFF
##22143F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#1B1D27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #22143f;
/* rgb */ color: rgb(34, 20, 63);
/* oklch */ color: oklch(23.7% 0.079 294.7);
Tailwind
colors: {
  custom: {
    50: '#605274',
    500: '#22143f',
    950: '#000000',
  },
}
SCSS
$custom: #22143f;
$custom-light: #605274;
$custom-dark: #000000;
JSON
{
  "hex": "#22143f",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 259.535,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23695,
    "c": 0.07851,
    "h": 294.7
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#22143F
secondary
#627738
accent
#DB4DAD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22143F

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

Preview Lab → · Contrast checker → · Palette generator →

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