#221267#221267

#221267 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.137 H 281.1°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#221267
RGBrgb(34, 18, 103)
HSLhsl(251, 70%, 24%)
HSVhsv(251, 83%, 40%)
CMYKcmyk(67%, 82.5%, 0%, 59.6%)
CIE-LABlab(14.13, 33.65, -46.52)
CIE-LCHlch(14.13, 57.41, 305.88°)
OKLaboklab(27.47% 0.0264 -0.1342)
OKLCHoklch(27.47% 0.137 281.1)
XYZxyz(3.3234, 1.7517, 12.9923)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221267 #576712
analogous
#122C67 #221267 #4C1267
triadic
#221267 #672212 #126722
tetradic
#221267 #67122C #576712 #12674C
square
#221267 #67122C #576712 #12674C
split-complementary
#221267 #674C12 #2C6712
monochromatic
#09051A #110933 #221267 #331B9B #4424CF

Accessibility & contrast

On white

15.55
#221267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#221267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221267
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221267#FFFFFF#000000##FFFFFF
##2212671.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221267;
/* rgb */ color: rgb(34, 18, 103);
/* oklch */ color: oklch(27.5% 0.137 281.1);
Tailwind
colors: {
  custom: {
    50: '#685393',
    500: '#221267',
    950: '#000000',
  },
}
SCSS
$custom: #221267;
$custom-light: #685393;
$custom-dark: #000000;
JSON
{
  "hex": "#221267",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 251.294,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27473,
    "c": 0.1368,
    "h": 281.1
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#221267
secondary
#8B9F36
accent
#ED3BCB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221267

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

Preview Lab → · Contrast checker → · Palette generator →

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