#221264#221264

#221264 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.133 H 281.8°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#221264
RGBrgb(34, 18, 100)
HSLhsl(252, 69%, 23%)
HSVhsv(252, 82%, 39%)
CMYKcmyk(66%, 82%, 0%, 60.8%)
CIE-LABlab(13.78, 32.66, -45.10)
CIE-LCHlch(13.78, 55.69, 305.91°)
OKLaboklab(27.13% 0.0273 -0.1301)
OKLCHoklch(27.13% 0.133 281.8)
XYZxyz(3.1755, 1.6926, 12.2135)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221264 #546412
analogous
#122B64 #221264 #4B1264
triadic
#221264 #642212 #126422
tetradic
#221264 #64122B #546412 #12644B
square
#221264 #64122B #546412 #12644B
split-complementary
#221264 #644B12 #2B6412
monochromatic
#09051A #100930 #221264 #341B98 #4525CC

Accessibility & contrast

On white

15.69
#221264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#221264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221264
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221264#FFFFFF#000000##FFFFFF
##2212641.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221264;
/* rgb */ color: rgb(34, 18, 100);
/* oklch */ color: oklch(27.1% 0.133 281.8);
Tailwind
colors: {
  custom: {
    50: '#675291',
    500: '#221264',
    950: '#000000',
  },
}
SCSS
$custom: #221264;
$custom-light: #675291;
$custom-dark: #000000;
JSON
{
  "hex": "#221264",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 251.707,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.13294,
    "h": 281.8
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#221264
secondary
#889C36
accent
#EC3BCA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221264

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

Preview Lab → · Contrast checker → · Palette generator →

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