#1E0532#1E0532

#1E0532 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.085 H 305.3°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#1E0532
RGBrgb(30, 5, 50)
HSLhsl(273, 82%, 11%)
HSVhsv(273, 90%, 20%)
CMYKcmyk(40%, 90%, 0%, 80.4%)
CIE-LABlab(5.55, 22.39, -23.74)
CIE-LCHlch(5.55, 32.63, 313.32°)
OKLaboklab(19.39% 0.0488 -0.0691)
OKLCHoklch(19.39% 0.085 305.3)
XYZxyz(1.1653, 0.6149, 3.0743)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0532 #193205
analogous
#070532 #1E0532 #32052F
triadic
#1E0532 #321E05 #05321E
tetradic
#1E0532 #320705 #193205 #052F32
square
#1E0532 #320705 #193205 #052F32
split-complementary
#1E0532 #2F3205 #053207
monochromatic
#11031C #11031C #1E0532 #3F0B6A #6110A1

Accessibility & contrast

On white

18.70
#1E0532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1E0532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0532
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0532#FFFFFF#000000##FFFFFF
##1E05321.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#1A101B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e0532;
/* rgb */ color: rgb(30, 5, 50);
/* oklch */ color: oklch(19.4% 0.085 305.3);
Tailwind
colors: {
  custom: {
    50: '#5c486a',
    500: '#1e0532',
    950: '#000000',
  },
}
SCSS
$custom: #1e0532;
$custom-light: #5c486a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0532",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 273.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19393,
    "c": 0.08461,
    "h": 305.3
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#1E0532
secondary
#45731F
accent
#F83089
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1E0532

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

Preview Lab → · Contrast checker → · Palette generator →

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