#221241#221241

#221241 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.085 H 294.7°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#221241
RGBrgb(34, 18, 65)
HSLhsl(260, 57%, 16%)
HSVhsv(260, 72%, 25%)
CMYKcmyk(47.7%, 72.3%, 0%, 74.5%)
CIE-LABlab(10.22, 21.01, -27.02)
CIE-LCHlch(10.22, 34.23, 307.87°)
OKLaboklab(23.51% 0.0354 -0.0771)
OKLCHoklch(23.51% 0.085 294.7)
XYZxyz(1.8299, 1.1543, 5.1264)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221241 #314112
analogous
#121A41 #221241 #3A1241
triadic
#221241 #412212 #124122
tetradic
#221241 #41121A #314112 #12413A
square
#221241 #41121A #314112 #12413A
split-complementary
#221241 #413A12 #1A4112
monochromatic
#0D0718 #0D0718 #221241 #3B1F71 #542DA1

Accessibility & contrast

On white

17.06
#221241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#221241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221241
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221241#FFFFFF#000000##FFFFFF
##2212411.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#1A1D27
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #221241;
/* rgb */ color: rgb(34, 18, 65);
/* oklch */ color: oklch(23.5% 0.085 294.7);
Tailwind
colors: {
  custom: {
    50: '#605176',
    500: '#221241',
    950: '#000000',
  },
}
SCSS
$custom: #221241;
$custom-light: #605176;
$custom-dark: #000000;
JSON
{
  "hex": "#221241",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 260.426,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23505,
    "c": 0.08484,
    "h": 294.7
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#221241
secondary
#627A35
accent
#E048AC
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #221241

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

Preview Lab → · Contrast checker → · Palette generator →

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