#1E0738#1E0738

#1E0738 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.089 H 299.9°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#1E0738
RGBrgb(30, 7, 56)
HSLhsl(268, 78%, 12%)
HSVhsv(268, 88%, 22%)
CMYKcmyk(46.4%, 87.5%, 0%, 78%)
CIE-LABlab(6.45, 23.59, -26.71)
CIE-LCHlch(6.45, 35.64, 311.45°)
OKLaboklab(20.34% 0.0441 -0.0769)
OKLCHoklch(20.34% 0.089 299.9)
XYZxyz(1.3250, 0.7135, 3.8085)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0738 #213807
analogous
#070938 #1E0738 #370738
triadic
#1E0738 #381E07 #07381E
tetradic
#1E0738 #380709 #213807 #073837
square
#1E0738 #380709 #213807 #073837
split-complementary
#1E0738 #383707 #093807
monochromatic
#0F031B #0F031B #1E0738 #3B0E6E #5815A5

Accessibility & contrast

On white

18.38
#1E0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1E0738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0738
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0738#FFFFFF#000000##FFFFFF
##1E07381.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#18141F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0738;
/* rgb */ color: rgb(30, 7, 56);
/* oklch */ color: oklch(20.3% 0.089 299.9);
Tailwind
colors: {
  custom: {
    50: '#5d496f',
    500: '#1e0738',
    950: '#000000',
  },
}
SCSS
$custom: #1e0738;
$custom-light: #5d496f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0738",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 268.163,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20339,
    "c": 0.08865,
    "h": 299.9
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#1E0738
secondary
#507823
accent
#F4349A
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0738

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

Preview Lab → · Contrast checker → · Palette generator →

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