#1E0735#1E0735

#1E0735 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.085 H 302.0°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#1E0735
RGBrgb(30, 7, 53)
HSLhsl(270, 77%, 12%)
HSVhsv(270, 87%, 21%)
CMYKcmyk(43.4%, 86.8%, 0%, 79.2%)
CIE-LABlab(6.19, 22.50, -24.93)
CIE-LCHlch(6.19, 33.59, 312.07°)
OKLaboklab(20.03% 0.045 -0.0719)
OKLCHoklch(20.03% 0.085 302)
XYZxyz(1.2538, 0.6850, 3.4336)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0735 #1E3507
analogous
#070735 #1E0735 #350735
triadic
#1E0735 #351E07 #07351E
tetradic
#1E0735 #350707 #1E3507 #073535
square
#1E0735 #350707 #1E3507 #073535
split-complementary
#1E0735 #353507 #073507
monochromatic
#0F041B #0F041B #1E0735 #3D0E6B #5B15A1

Accessibility & contrast

On white

18.47
#1E0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0735
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0735#FFFFFF#000000##FFFFFF
##1E07351.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#19121D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0735;
/* rgb */ color: rgb(30, 7, 53);
/* oklch */ color: oklch(20.0% 0.085 302.0);
Tailwind
colors: {
  custom: {
    50: '#5c496d',
    500: '#1e0735',
    950: '#000000',
  },
}
SCSS
$custom: #1e0735;
$custom-light: #5c496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0735",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 270,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20033,
    "c": 0.0848,
    "h": 302
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#1E0735
secondary
#4C7523
accent
#F33594
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0735

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

Preview Lab → · Contrast checker → · Palette generator →

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