#220233#220233

#220233 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.093 H 310.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#220233
RGBrgb(34, 2, 51)
HSLhsl(279, 92%, 10%)
HSVhsv(279, 96%, 20%)
CMYKcmyk(33.3%, 96.1%, 0%, 80%)
CIE-LABlab(5.62, 25.72, -24.34)
CIE-LCHlch(5.62, 35.41, 316.58°)
OKLaboklab(19.64% 0.0603 -0.0705)
OKLCHoklch(19.64% 0.093 310.5)
XYZxyz(1.2788, 0.6225, 3.1841)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220233 #133302
analogous
#0A0233 #220233 #33022B
triadic
#220233 #332202 #023322
tetradic
#220233 #330A02 #133302 #022B33
square
#220233 #330A02 #133302 #022B33
split-complementary
#220233 #2B3302 #02330A
monochromatic
#14011D #14011D #220233 #49046E #7107A9

Accessibility & contrast

On white

18.67
#220233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#220233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220233
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220233#FFFFFF#000000##FFFFFF
##2202331.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#200D1A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220233;
/* rgb */ color: rgb(34, 2, 51);
/* oklch */ color: oklch(19.6% 0.093 310.5);
Tailwind
colors: {
  custom: {
    50: '#5f476b',
    500: '#220233',
    950: '#000000',
  },
}
SCSS
$custom: #220233;
$custom-light: #5f476b;
$custom-dark: #000000;
JSON
{
  "hex": "#220233",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 279.184,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19637,
    "c": 0.09281,
    "h": 310.5
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#220233
secondary
#3A771A
accent
#FF2973
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220233

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

Preview Lab → · Contrast checker → · Palette generator →

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