#221653#221653

#221653 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.105 H 285.5°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#221653
RGBrgb(34, 22, 83)
HSLhsl(252, 58%, 21%)
HSVhsv(252, 73%, 33%)
CMYKcmyk(59%, 73.5%, 0%, 67.5%)
CIE-LABlab(12.85, 24.49, -35.22)
CIE-LCHlch(12.85, 42.90, 304.82°)
OKLaboklab(25.92% 0.028 -0.1012)
OKLCHoklch(25.92% 0.105 285.5)
XYZxyz(2.5075, 1.5383, 8.3467)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221653 #475316
analogous
#162853 #221653 #401653
triadic
#221653 #532216 #165322
tetradic
#221653 #531628 #475316 #165340
square
#221653 #531628 #475316 #165340
split-complementary
#221653 #534016 #285316
monochromatic
#0A0618 #0E0923 #221653 #362383 #4A30B4

Accessibility & contrast

On white

16.06
#221653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#221653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221653
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221653#FFFFFF#000000##FFFFFF
##2216531.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#0D2632
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #221653;
/* rgb */ color: rgb(34, 22, 83);
/* oklch */ color: oklch(25.9% 0.105 285.5);
Tailwind
colors: {
  custom: {
    50: '#635484',
    500: '#221653',
    950: '#000000',
  },
}
SCSS
$custom: #221653;
$custom-light: #635484;
$custom-dark: #000000;
JSON
{
  "hex": "#221653",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 251.803,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25925,
    "c": 0.10501,
    "h": 285.5
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#221653
secondary
#7B8A3A
accent
#E146C3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221653

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

Preview Lab → · Contrast checker → · Palette generator →

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