#221035#221035

#221035 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.071 H 303.6°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#221035
RGBrgb(34, 16, 53)
HSLhsl(269, 54%, 14%)
HSVhsv(269, 70%, 21%)
CMYKcmyk(35.8%, 69.8%, 0%, 79.2%)
CIE-LABlab(8.72, 18.52, -20.83)
CIE-LCHlch(8.72, 27.87, 311.64°)
OKLaboklab(22.1% 0.0391 -0.0589)
OKLCHoklch(22.1% 0.071 303.6)
XYZxyz(1.4874, 0.9677, 3.4759)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221035 #233510
analogous
#101035 #221035 #341035
triadic
#221035 #352210 #103522
tetradic
#221035 #351010 #233510 #103534
square
#221035 #351010 #233510 #103534
split-complementary
#221035 #353410 #103510
monochromatic
#0F0718 #0F0718 #221035 #401E64 #5E2C93

Accessibility & contrast

On white

17.59
#221035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#221035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221035
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221035#FFFFFF#000000##FFFFFF
##2210351.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021936
Deuteranopia (green-blind)
#071934
Tritanopia (blue-blind)
#1E1720
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #221035;
/* rgb */ color: rgb(34, 16, 53);
/* oklch */ color: oklch(22.1% 0.071 303.6);
Tailwind
colors: {
  custom: {
    50: '#5f4f6c',
    500: '#221035',
    950: '#000000',
  },
}
SCSS
$custom: #221035;
$custom-light: #5f4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#221035",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 269.189,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.221,
    "c": 0.07068,
    "h": 303.6
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#221035
secondary
#516F32
accent
#DD4B96
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #221035

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

Preview Lab → · Contrast checker → · Palette generator →

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