#220730#220730

#220730 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.080 H 311.5°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#220730
RGBrgb(34, 7, 48)
HSLhsl(280, 75%, 11%)
HSVhsv(280, 85%, 19%)
CMYKcmyk(29.2%, 85.4%, 0%, 81.2%)
CIE-LABlab(6.37, 22.19, -20.91)
CIE-LCHlch(6.37, 30.49, 316.69°)
OKLaboklab(20.19% 0.0529 -0.0597)
OKLCHoklch(20.19% 0.08 311.5)
XYZxyz(1.2691, 0.7055, 2.8650)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220730 #153007
analogous
#0D0730 #220730 #300729
triadic
#220730 #302207 #073022
tetradic
#220730 #300D07 #153007 #072930
square
#220730 #300D07 #153007 #072930
split-complementary
#220730 #293007 #07300D
monochromatic
#13041B #13041B #220730 #480F65 #6E179B

Accessibility & contrast

On white

18.40
#220730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220730
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220730#FFFFFF#000000##FFFFFF
##2207301.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#03152F
Tritanopia (blue-blind)
#20101A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220730;
/* rgb */ color: rgb(34, 7, 48);
/* oklch */ color: oklch(20.2% 0.080 311.5);
Tailwind
colors: {
  custom: {
    50: '#5f4968',
    500: '#220730',
    950: '#000000',
  },
}
SCSS
$custom: #220730;
$custom-light: #5f4968;
$custom-dark: #000000;
JSON
{
  "hex": "#220730",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 279.512,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20186,
    "c": 0.07981,
    "h": 311.5
  },
  "luminance": 0.00705
}

Semantic roles & 50–950 ramp

primary
#220730
secondary
#3D7023
accent
#F13776
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220730

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

Preview Lab → · Contrast checker → · Palette generator →

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