#22133F#22133F

#22133F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.080 H 295.2°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#22133F
RGBrgb(34, 19, 63)
HSLhsl(260, 54%, 16%)
HSVhsv(260, 70%, 25%)
CMYKcmyk(46%, 69.8%, 0%, 75.3%)
CIE-LABlab(10.29, 19.68, -25.47)
CIE-LCHlch(10.29, 32.19, 307.68°)
OKLaboklab(23.51% 0.0342 -0.0726)
OKLCHoklch(23.51% 0.08 295.2)
XYZxyz(1.7895, 1.1647, 4.8322)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22133F #303F13
analogous
#131A3F #22133F #38133F
triadic
#22133F #3F2213 #133F22
tetradic
#22133F #3F131A #303F13 #133F38
square
#22133F #3F131A #303F13 #133F38
split-complementary
#22133F #3F3813 #1A3F13
monochromatic
#0D0718 #0D0718 #22133F #3B216E #552F9D

Accessibility & contrast

On white

17.03
#22133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#22133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22133F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22133F#FFFFFF#000000##FFFFFF
##22133F1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#1B1D26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #22133f;
/* rgb */ color: rgb(34, 19, 63);
/* oklch */ color: oklch(23.5% 0.080 295.2);
Tailwind
colors: {
  custom: {
    50: '#605174',
    500: '#22133f',
    950: '#000000',
  },
}
SCSS
$custom: #22133f;
$custom-light: #605174;
$custom-dark: #000000;
JSON
{
  "hex": "#22133f",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 260.455,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23507,
    "c": 0.08022,
    "h": 295.2
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#22133F
secondary
#617836
accent
#DD4BAB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22133F

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

Preview Lab → · Contrast checker → · Palette generator →

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