#1E0943#1E0943

#1E0943 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.100 H 292.5°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#1E0943
RGBrgb(30, 9, 67)
HSLhsl(262, 76%, 15%)
HSVhsv(262, 87%, 26%)
CMYKcmyk(55.2%, 86.6%, 0%, 73.7%)
CIE-LABlab(7.92, 26.26, -32.20)
CIE-LCHlch(7.92, 41.55, 309.20°)
OKLaboklab(21.81% 0.0383 -0.0924)
OKLCHoklch(21.81% 0.1 292.5)
XYZxyz(1.6459, 0.8766, 5.3916)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0943 #2E4309
analogous
#091143 #1E0943 #3B0943
triadic
#1E0943 #431E09 #09431E
tetradic
#1E0943 #430911 #2E4309 #09433B
square
#1E0943 #430911 #2E4309 #09433B
split-complementary
#1E0943 #433B09 #114309
monochromatic
#0C041B #0C041B #1E0943 #361079 #4E17AF

Accessibility & contrast

On white

17.87
#1E0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0943
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0943#FFFFFF#000000##FFFFFF
##1E09431.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#121926
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0943;
/* rgb */ color: rgb(30, 9, 67);
/* oklch */ color: oklch(21.8% 0.100 292.5);
Tailwind
colors: {
  custom: {
    50: '#5f4b78',
    500: '#1e0943',
    950: '#000000',
  },
}
SCSS
$custom: #1e0943;
$custom-light: #5f4b78;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0943",
  "rgb": {
    "r": 30,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 261.724,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21807,
    "c": 0.10007,
    "h": 292.5
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#1E0943
secondary
#608127
accent
#F335AE
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0943

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

Preview Lab → · Contrast checker → · Palette generator →

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