#221265#221265

#221265 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.134 H 281.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#221265
RGBrgb(34, 18, 101)
HSLhsl(252, 70%, 23%)
HSVhsv(252, 82%, 40%)
CMYKcmyk(66.3%, 82.2%, 0%, 60.4%)
CIE-LABlab(13.90, 32.99, -45.58)
CIE-LCHlch(13.90, 56.27, 305.90°)
OKLaboklab(27.24% 0.027 -0.1315)
OKLCHoklch(27.24% 0.134 281.6)
XYZxyz(3.2242, 1.7120, 12.4699)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221265 #556512
analogous
#122B65 #221265 #4B1265
triadic
#221265 #652212 #126522
tetradic
#221265 #65122B #556512 #12654B
square
#221265 #65122B #556512 #12654B
split-complementary
#221265 #654B12 #2B6512
monochromatic
#09051A #110931 #221265 #331B99 #4525CD

Accessibility & contrast

On white

15.64
#221265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221265
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221265#FFFFFF#000000##FFFFFF
##2212651.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #221265;
/* rgb */ color: rgb(34, 18, 101);
/* oklch */ color: oklch(27.2% 0.134 281.6);
Tailwind
colors: {
  custom: {
    50: '#685292',
    500: '#221265',
    950: '#000000',
  },
}
SCSS
$custom: #221265;
$custom-light: #685292;
$custom-dark: #000000;
JSON
{
  "hex": "#221265",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 251.566,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27244,
    "c": 0.13424,
    "h": 281.6
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#221265
secondary
#899D36
accent
#ED3BCA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #221265

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

Preview Lab → · Contrast checker → · Palette generator →

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