#1E0535#1E0535

#1E0535 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.088 H 302.9°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#1E0535
RGBrgb(30, 5, 53)
HSLhsl(271, 83%, 11%)
HSVhsv(271, 91%, 21%)
CMYKcmyk(43.4%, 90.6%, 0%, 79.2%)
CIE-LABlab(5.80, 23.51, -25.56)
CIE-LCHlch(5.80, 34.73, 312.60°)
OKLaboklab(19.7% 0.0479 -0.0741)
OKLCHoklch(19.7% 0.088 302.9)
XYZxyz(1.2321, 0.6416, 3.4264)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0535 #1C3505
analogous
#060535 #1E0535 #350534
triadic
#1E0535 #351E05 #05351E
tetradic
#1E0535 #350605 #1C3505 #053435
square
#1E0535 #350605 #1C3505 #053435
split-complementary
#1E0535 #343505 #053506
monochromatic
#10031C #10031C #1E0535 #3E0A6D #5D10A5

Accessibility & contrast

On white

18.61
#1E0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0535
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0535#FFFFFF#000000##FFFFFF
##1E05351.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#19111C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0535;
/* rgb */ color: rgb(30, 5, 53);
/* oklch */ color: oklch(19.7% 0.088 302.9);
Tailwind
colors: {
  custom: {
    50: '#5d486d',
    500: '#1e0535',
    950: '#000000',
  },
}
SCSS
$custom: #1e0535;
$custom-light: #5d486d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0535",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 271.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.197,
    "c": 0.08826,
    "h": 302.9
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#1E0535
secondary
#497620
accent
#F92F90
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1E0535

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

Preview Lab → · Contrast checker → · Palette generator →

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