#221358#221358

#221358 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.116 H 284.9°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#221358
RGBrgb(34, 19, 88)
HSLhsl(253, 64%, 21%)
HSVhsv(253, 78%, 35%)
CMYKcmyk(61.4%, 78.4%, 0%, 65.5%)
CIE-LABlab(12.67, 28.09, -38.90)
CIE-LCHlch(12.67, 47.98, 305.83°)
OKLaboklab(25.95% 0.0299 -0.112)
OKLCHoklch(25.95% 0.116 284.9)
XYZxyz(2.6535, 1.5102, 9.3823)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221358 #495813
analogous
#132658 #221358 #441358
triadic
#221358 #582213 #135822
tetradic
#221358 #581326 #495813 #135844
square
#221358 #581326 #495813 #135844
split-complementary
#221358 #584413 #265813
monochromatic
#0A0519 #0F0826 #221358 #351E8A #4929BD

Accessibility & contrast

On white

16.13
#221358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#221358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221358
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221358#FFFFFF#000000##FFFFFF
##2213581.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#072634
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #221358;
/* rgb */ color: rgb(34, 19, 88);
/* oklch */ color: oklch(26.0% 0.116 284.9);
Tailwind
colors: {
  custom: {
    50: '#655288',
    500: '#221358',
    950: '#000000',
  },
}
SCSS
$custom: #221358;
$custom-light: #655288;
$custom-dark: #000000;
JSON
{
  "hex": "#221358",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 253.043,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.11591,
    "h": 284.9
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#221358
secondary
#7D9037
accent
#E740C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221358

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

Preview Lab → · Contrast checker → · Palette generator →

#221358 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva