#1E0539#1E0539

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

Color values

HEX#1E0539
RGBrgb(30, 5, 57)
HSLhsl(269, 84%, 12%)
HSVhsv(269, 91%, 22%)
CMYKcmyk(47.4%, 91.2%, 0%, 77.6%)
CIE-LABlab(6.14, 24.99, -27.93)
CIE-LCHlch(6.14, 37.47, 311.82°)
OKLaboklab(20.12% 0.0465 -0.0807)
OKLCHoklch(20.12% 0.093 299.9)
XYZxyz(1.3280, 0.6800, 3.9314)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0539 #203905
analogous
#050639 #1E0539 #380539
triadic
#1E0539 #391E05 #05391E
tetradic
#1E0539 #390506 #203905 #053938
square
#1E0539 #390506 #203905 #053938
split-complementary
#1E0539 #393805 #063905
monochromatic
#0F021C #0F021C #1E0539 #3C0A71 #590FAA

Accessibility & contrast

On white

18.49
#1E0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0539
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0539#FFFFFF#000000##FFFFFF
##1E05391.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#18131F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1e0539;
/* rgb */ color: rgb(30, 5, 57);
/* oklch */ color: oklch(20.1% 0.093 299.9);
Tailwind
colors: {
  custom: {
    50: '#5d4870',
    500: '#1e0539',
    950: '#000000',
  },
}
SCSS
$custom: #1e0539;
$custom-light: #5d4870;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0539",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 268.846,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20123,
    "c": 0.09312,
    "h": 299.9
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#1E0539
secondary
#4F7A20
accent
#FA2E98
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0539

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

Preview Lab → · Contrast checker → · Palette generator →

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