#220746#220746

#220746 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.107 H 295.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#220746
RGBrgb(34, 7, 70)
HSLhsl(266, 82%, 15%)
HSVhsv(266, 90%, 27%)
CMYKcmyk(51.4%, 90%, 0%, 72.5%)
CIE-LABlab(8.43, 28.97, -33.46)
CIE-LCHlch(8.43, 44.26, 310.89°)
OKLaboklab(22.39% 0.0464 -0.0959)
OKLCHoklch(22.39% 0.107 295.8)
XYZxyz(1.8409, 0.9342, 5.8765)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220746 #2B4607
analogous
#070C46 #220746 #410746
triadic
#220746 #462207 #074622
tetradic
#220746 #46070C #2B4607 #074641
square
#220746 #46070C #2B4607 #074641
split-complementary
#220746 #464107 #0C4607
monochromatic
#0E031C #0E031C #220746 #3D0D7E #5812B5

Accessibility & contrast

On white

17.69
#220746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220746
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220746#FFFFFF#000000##FFFFFF
##2207461.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#181927
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220746;
/* rgb */ color: rgb(34, 7, 70);
/* oklch */ color: oklch(22.4% 0.107 295.8);
Tailwind
colors: {
  custom: {
    50: '#624a7a',
    500: '#220746',
    950: '#000000',
  },
}
SCSS
$custom: #220746;
$custom-light: #624a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#220746",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 265.714,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22392,
    "c": 0.10658,
    "h": 295.8
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#220746
secondary
#5B8524
accent
#F830A2
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220746

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

Preview Lab → · Contrast checker → · Palette generator →

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