#1E0547#1E0547

#1E0547 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.110 H 291.6°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#1E0547
RGBrgb(30, 5, 71)
HSLhsl(263, 87%, 15%)
HSVhsv(263, 93%, 28%)
CMYKcmyk(57.7%, 93%, 0%, 72.2%)
CIE-LABlab(7.58, 29.79, -35.58)
CIE-LCHlch(7.58, 46.41, 309.94°)
OKLaboklab(21.71% 0.0406 -0.1023)
OKLCHoklch(21.71% 0.11 291.6)
XYZxyz(1.7267, 0.8394, 6.0311)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0547 #2E4705
analogous
#050D47 #1E0547 #3F0547
triadic
#1E0547 #471E05 #05471E
tetradic
#1E0547 #47050D #2E4705 #05473F
square
#1E0547 #47050D #2E4705 #05473F
split-complementary
#1E0547 #473F05 #0D4705
monochromatic
#0C021D #0C021D #1E0547 #360980 #4E0DB9

Accessibility & contrast

On white

17.98
#1E0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1E0547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0547
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0547#FFFFFF#000000##FFFFFF
##1E05471.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#0F1927
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0547;
/* rgb */ color: rgb(30, 5, 71);
/* oklch */ color: oklch(21.7% 0.110 291.6);
Tailwind
colors: {
  custom: {
    50: '#60497b',
    500: '#1e0547',
    950: '#000000',
  },
}
SCSS
$custom: #1e0547;
$custom-light: #60497b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0547",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 262.727,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21709,
    "c": 0.11006,
    "h": 291.6
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#1E0547
secondary
#608721
accent
#FD2BAD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0547

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

Preview Lab → · Contrast checker → · Palette generator →

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