#221352#221352

#221352 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.108 H 286.9°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#221352
RGBrgb(34, 19, 82)
HSLhsl(254, 62%, 20%)
HSVhsv(254, 77%, 32%)
CMYKcmyk(58.5%, 76.8%, 0%, 67.8%)
CIE-LABlab(12.06, 26.06, -35.83)
CIE-LCHlch(12.06, 44.31, 306.03°)
OKLaboklab(25.33% 0.0313 -0.103)
OKLCHoklch(25.33% 0.108 286.9)
XYZxyz(2.4151, 1.4149, 8.1269)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221352 #435213
analogous
#132352 #221352 #421352
triadic
#221352 #522213 #135222
tetradic
#221352 #521323 #435213 #135242
square
#221352 #521323 #435213 #135242
split-complementary
#221352 #524213 #235213
monochromatic
#0A0619 #0D0720 #221352 #371F84 #4B2AB5

Accessibility & contrast

On white

16.37
#221352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#221352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221352
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221352#FFFFFF#000000##FFFFFF
##2213521.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#0E2431
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #221352;
/* rgb */ color: rgb(34, 19, 82);
/* oklch */ color: oklch(25.3% 0.108 286.9);
Tailwind
colors: {
  custom: {
    50: '#635283',
    500: '#221352',
    950: '#000000',
  },
}
SCSS
$custom: #221352;
$custom-light: #635283;
$custom-dark: #000000;
JSON
{
  "hex": "#221352",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 254.286,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25327,
    "c": 0.10766,
    "h": 286.9
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#221352
secondary
#768A36
accent
#E542BF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221352

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

Preview Lab → · Contrast checker → · Palette generator →

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