#1E0846#1E0846

#1E0846 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.105 H 291.3°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#1E0846
RGBrgb(30, 8, 70)
HSLhsl(261, 79%, 15%)
HSVhsv(261, 89%, 27%)
CMYKcmyk(57.1%, 88.6%, 0%, 72.5%)
CIE-LABlab(8.06, 27.77, -34.10)
CIE-LCHlch(8.06, 43.98, 309.16°)
OKLaboklab(22.01% 0.0382 -0.098)
OKLCHoklch(22.01% 0.105 291.3)
XYZxyz(1.7274, 0.8918, 5.8743)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0846 #304608
analogous
#081146 #1E0846 #3D0846
triadic
#1E0846 #461E08 #08461E
tetradic
#1E0846 #460811 #304608 #08463D
square
#1E0846 #460811 #304608 #08463D
split-complementary
#1E0846 #463D08 #114608
monochromatic
#0C031B #0C031B #1E0846 #360E7D #4D15B4

Accessibility & contrast

On white

17.82
#1E0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1E0846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0846
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0846#FFFFFF#000000##FFFFFF
##1E08461.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#101A27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1e0846;
/* rgb */ color: rgb(30, 8, 70);
/* oklch */ color: oklch(22.0% 0.105 291.3);
Tailwind
colors: {
  custom: {
    50: '#604a7a',
    500: '#1e0846',
    950: '#000000',
  },
}
SCSS
$custom: #1e0846;
$custom-light: #604a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0846",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 261.29,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22005,
    "c": 0.10516,
    "h": 291.3
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#1E0846
secondary
#638426
accent
#F632B0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0846

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

Preview Lab → · Contrast checker → · Palette generator →

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