#221269#221269

#221269 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.139 H 280.6°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#221269
RGBrgb(34, 18, 105)
HSLhsl(251, 71%, 24%)
HSVhsv(251, 83%, 41%)
CMYKcmyk(67.6%, 82.9%, 0%, 58.8%)
CIE-LABlab(14.36, 34.30, -47.46)
CIE-LCHlch(14.36, 58.55, 305.86°)
OKLaboklab(27.7% 0.0257 -0.137)
OKLCHoklch(27.7% 0.139 280.6)
XYZxyz(3.4250, 1.7923, 13.5273)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221269 #596912
analogous
#122E69 #221269 #4E1269
triadic
#221269 #692212 #126922
tetradic
#221269 #69122E #596912 #12694E
square
#221269 #69122E #596912 #12694E
split-complementary
#221269 #694E12 #2E6912
monochromatic
#08041A #110935 #221269 #331B9D #4424D1

Accessibility & contrast

On white

15.46
#221269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#221269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221269
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221269#FFFFFF#000000##FFFFFF
##2212691.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276B
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221269;
/* rgb */ color: rgb(34, 18, 105);
/* oklch */ color: oklch(27.7% 0.139 280.6);
Tailwind
colors: {
  custom: {
    50: '#685395',
    500: '#221269',
    950: '#000000',
  },
}
SCSS
$custom: #221269;
$custom-light: #685395;
$custom-dark: #000000;
JSON
{
  "hex": "#221269",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 251.034,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.13936,
    "h": 280.6
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#221269
secondary
#8DA136
accent
#ED3ACD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221269

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

Preview Lab → · Contrast checker → · Palette generator →

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