#1E0537#1E0537

#1E0537 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.091 H 301.4°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#1E0537
RGBrgb(30, 5, 55)
HSLhsl(270, 83%, 12%)
HSVhsv(270, 91%, 22%)
CMYKcmyk(45.5%, 90.9%, 0%, 78.4%)
CIE-LABlab(5.97, 24.25, -26.76)
CIE-LCHlch(5.97, 36.11, 312.19°)
OKLaboklab(19.91% 0.0472 -0.0774)
OKLCHoklch(19.91% 0.091 301.4)
XYZxyz(1.2791, 0.6604, 3.6738)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0537 #1E3705
analogous
#050537 #1E0537 #370537
triadic
#1E0537 #371E05 #05371E
tetradic
#1E0537 #370505 #1E3705 #053737
square
#1E0537 #370505 #1E3705 #053737
split-complementary
#1E0537 #373705 #053705
monochromatic
#0F031C #0F031C #1E0537 #3D0A6F #5B0FA7

Accessibility & contrast

On white

18.55
#1E0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0537
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0537#FFFFFF#000000##FFFFFF
##1E05371.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#18121E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0537;
/* rgb */ color: rgb(30, 5, 55);
/* oklch */ color: oklch(19.9% 0.091 301.4);
Tailwind
colors: {
  custom: {
    50: '#5d486e',
    500: '#1e0537',
    950: '#000000',
  },
}
SCSS
$custom: #1e0537;
$custom-light: #5d486e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0537",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 270,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19909,
    "c": 0.09069,
    "h": 301.4
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#1E0537
secondary
#4C7820
accent
#FA2E94
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0537

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

Preview Lab → · Contrast checker → · Palette generator →

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