#221051#221051

#221051 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.110 H 288.2°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#221051
RGBrgb(34, 16, 81)
HSLhsl(257, 67%, 19%)
HSVhsv(257, 80%, 32%)
CMYKcmyk(58%, 80.2%, 0%, 68.2%)
CIE-LABlab(11.31, 27.54, -36.38)
CIE-LCHlch(11.31, 45.62, 307.12°)
OKLaboklab(24.76% 0.0345 -0.1046)
OKLCHoklch(24.76% 0.11 288.2)
XYZxyz(2.3297, 1.3046, 7.9120)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221051 #3F5110
analogous
#101F51 #221051 #431051
triadic
#221051 #512210 #105122
tetradic
#221051 #51101F #3F5110 #105143
square
#221051 #51101F #3F5110 #105143
split-complementary
#221051 #514310 #1F5110
monochromatic
#0B051A #0D061E #221051 #371A84 #4D24B7

Accessibility & contrast

On white

16.65
#221051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#221051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221051
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221051#FFFFFF#000000##FFFFFF
##2210511.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F53
Deuteranopia (green-blind)
#001C50
Tritanopia (blue-blind)
#0F222F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #221051;
/* rgb */ color: rgb(34, 16, 81);
/* oklch */ color: oklch(24.8% 0.110 288.2);
Tailwind
colors: {
  custom: {
    50: '#635083',
    500: '#221051',
    950: '#000000',
  },
}
SCSS
$custom: #221051;
$custom-light: #635083;
$custom-dark: #000000;
JSON
{
  "hex": "#221051",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 256.615,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24764,
    "c": 0.11011,
    "h": 288.2
  },
  "luminance": 0.01305
}

Semantic roles & 50–950 ramp

primary
#221051
secondary
#728B32
accent
#EA3EBA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #221051

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

Preview Lab → · Contrast checker → · Palette generator →

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