#221046#221046

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

Color values

HEX#221046
RGBrgb(34, 16, 70)
HSLhsl(260, 63%, 17%)
HSVhsv(260, 77%, 27%)
CMYKcmyk(51.4%, 77.1%, 0%, 72.5%)
CIE-LABlab(10.20, 23.93, -30.56)
CIE-LCHlch(10.20, 38.81, 308.07°)
OKLaboklab(23.64% 0.0371 -0.0875)
OKLCHoklch(23.64% 0.095 293)
XYZxyz(1.9502, 1.1528, 5.9129)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221046 #344610
analogous
#101946 #221046 #3D1046
triadic
#221046 #462210 #104622
tetradic
#221046 #461019 #344610 #10463D
square
#221046 #461019 #344610 #10463D
split-complementary
#221046 #463D10 #194610
monochromatic
#0C0619 #0C0619 #221046 #3A1B78 #5227AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##221046#FFFFFF#000000##FFFFFF
##2210461.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)
#001D48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#171D29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #221046;
/* rgb */ color: rgb(34, 16, 70);
/* oklch */ color: oklch(23.6% 0.095 293.0);
Tailwind
colors: {
  custom: {
    50: '#614f7a',
    500: '#221046',
    950: '#000000',
  },
}
SCSS
$custom: #221046;
$custom-light: #614f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#221046",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 260,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23641,
    "c": 0.09504,
    "h": 293
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#221046
secondary
#668032
accent
#E642AF
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #221046

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

Preview Lab → · Contrast checker → · Palette generator →

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