#1E0546#1E0546

#1E0546 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.109 H 292.2°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#1E0546
RGBrgb(30, 5, 70)
HSLhsl(263, 87%, 15%)
HSVhsv(263, 93%, 27%)
CMYKcmyk(57.1%, 92.9%, 0%, 72.5%)
CIE-LABlab(7.47, 29.48, -35.06)
CIE-LCHlch(7.47, 45.81, 310.05°)
OKLaboklab(21.59% 0.0411 -0.1008)
OKLCHoklch(21.59% 0.109 292.2)
XYZxyz(1.6949, 0.8267, 5.8634)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0546 #2D4605
analogous
#050C46 #1E0546 #3F0546
triadic
#1E0546 #461E05 #05461E
tetradic
#1E0546 #46050C #2D4605 #05463F
square
#1E0546 #46050C #2D4605 #05463F
split-complementary
#1E0546 #463F05 #0C4605
monochromatic
#0C021D #0C021D #1E0546 #36097F #4F0DB8

Accessibility & contrast

On white

18.02
#1E0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0546
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0546#FFFFFF#000000##FFFFFF
##1E05461.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#101926
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e0546;
/* rgb */ color: rgb(30, 5, 70);
/* oklch */ color: oklch(21.6% 0.109 292.2);
Tailwind
colors: {
  custom: {
    50: '#60497a',
    500: '#1e0546',
    950: '#000000',
  },
}
SCSS
$custom: #1e0546;
$custom-light: #60497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0546",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 263.077,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21591,
    "c": 0.10886,
    "h": 292.2
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#1E0546
secondary
#5F8621
accent
#FD2BAC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0546

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

Preview Lab → · Contrast checker → · Palette generator →

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