#1E0733#1E0733

#1E0733 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.082 H 303.6°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1E0733
RGBrgb(30, 7, 51)
HSLhsl(271, 76%, 11%)
HSVhsv(271, 86%, 20%)
CMYKcmyk(41.2%, 86.3%, 0%, 80%)
CIE-LABlab(6.03, 21.77, -23.72)
CIE-LCHlch(6.03, 32.20, 312.55°)
OKLaboklab(19.84% 0.0455 -0.0685)
OKLCHoklch(19.84% 0.082 303.6)
XYZxyz(1.2088, 0.6670, 3.1964)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0733 #1C3307
analogous
#080733 #1E0733 #330732
triadic
#1E0733 #331E07 #07331E
tetradic
#1E0733 #330807 #1C3307 #073233
square
#1E0733 #330807 #1C3307 #073233
split-complementary
#1E0733 #323307 #073308
monochromatic
#10041B #10041B #1E0733 #3E0E69 #5D169F

Accessibility & contrast

On white

18.53
#1E0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E0733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0733
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0733#FFFFFF#000000##FFFFFF
##1E07331.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#1A121C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0733;
/* rgb */ color: rgb(30, 7, 51);
/* oklch */ color: oklch(19.8% 0.082 303.6);
Tailwind
colors: {
  custom: {
    50: '#5c496b',
    500: '#1e0733',
    950: '#000000',
  },
}
SCSS
$custom: #1e0733;
$custom-light: #5c496b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0733",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 271.364,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19835,
    "c": 0.08223,
    "h": 303.6
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#1E0733
secondary
#497323
accent
#F23590
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1E0733

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

Preview Lab → · Contrast checker → · Palette generator →

#1E0733 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva