#221263#221263

#221263 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.132 H 282.1°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#221263
RGBrgb(34, 18, 99)
HSLhsl(252, 69%, 23%)
HSVhsv(252, 82%, 39%)
CMYKcmyk(65.7%, 81.8%, 0%, 61.2%)
CIE-LABlab(13.67, 32.33, -44.63)
CIE-LCHlch(13.67, 55.11, 305.92°)
OKLaboklab(27.02% 0.0276 -0.1287)
OKLCHoklch(27.02% 0.132 282.1)
XYZxyz(3.1274, 1.6733, 11.9601)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221263 #536312
analogous
#122A63 #221263 #4A1263
triadic
#221263 #632212 #126322
tetradic
#221263 #63122A #536312 #12634A
square
#221263 #63122A #536312 #12634A
split-complementary
#221263 #634A12 #2A6312
monochromatic
#09051A #10092F #221263 #341B97 #4625CB

Accessibility & contrast

On white

15.73
#221263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#221263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221263
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221263#FFFFFF#000000##FFFFFF
##2212631.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221263;
/* rgb */ color: rgb(34, 18, 99);
/* oklch */ color: oklch(27.0% 0.132 282.1);
Tailwind
colors: {
  custom: {
    50: '#675290',
    500: '#221263',
    950: '#000000',
  },
}
SCSS
$custom: #221263;
$custom-light: #675290;
$custom-dark: #000000;
JSON
{
  "hex": "#221263",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 251.852,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27018,
    "c": 0.13164,
    "h": 282.1
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#221263
secondary
#879B36
accent
#EC3CC9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221263

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

Preview Lab → · Contrast checker → · Palette generator →

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