#1E0739#1E0739

#1E0739 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.090 H 299.2°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#1E0739
RGBrgb(30, 7, 57)
HSLhsl(268, 78%, 13%)
HSVhsv(268, 88%, 22%)
CMYKcmyk(47.4%, 87.7%, 0%, 77.6%)
CIE-LABlab(6.53, 23.95, -27.29)
CIE-LCHlch(6.53, 36.31, 311.27°)
OKLaboklab(20.44% 0.0438 -0.0785)
OKLCHoklch(20.44% 0.09 299.2)
XYZxyz(1.3497, 0.7234, 3.9386)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0739 #223907
analogous
#070939 #1E0739 #370739
triadic
#1E0739 #391E07 #07391E
tetradic
#1E0739 #390709 #223907 #073937
square
#1E0739 #390709 #223907 #073937
split-complementary
#1E0739 #393707 #093907
monochromatic
#0E031B #0E031B #1E0739 #3B0E70 #5714A6

Accessibility & contrast

On white

18.35
#1E0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0739
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0739#FFFFFF#000000##FFFFFF
##1E07391.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#17141F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0739;
/* rgb */ color: rgb(30, 7, 57);
/* oklch */ color: oklch(20.4% 0.090 299.2);
Tailwind
colors: {
  custom: {
    50: '#5d4970',
    500: '#1e0739',
    950: '#000000',
  },
}
SCSS
$custom: #1e0739;
$custom-light: #5d4970;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0739",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 267.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20443,
    "c": 0.08992,
    "h": 299.2
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#1E0739
secondary
#517923
accent
#F5339C
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0739

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

Preview Lab → · Contrast checker → · Palette generator →

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