#1E0946#1E0946

#1E0946 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.104 H 291.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#1E0946
RGBrgb(30, 9, 70)
HSLhsl(261, 77%, 15%)
HSVhsv(261, 87%, 27%)
CMYKcmyk(57.1%, 87.1%, 0%, 72.5%)
CIE-LABlab(8.25, 27.21, -33.78)
CIE-LCHlch(8.25, 43.38, 308.86°)
OKLaboklab(22.14% 0.0373 -0.0971)
OKLCHoklch(22.14% 0.104 291)
XYZxyz(1.7383, 0.9135, 5.8779)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0946 #314609
analogous
#091246 #1E0946 #3C0946
triadic
#1E0946 #461E09 #09461E
tetradic
#1E0946 #460912 #314609 #09463C
square
#1E0946 #460912 #314609 #09463C
split-complementary
#1E0946 #463C09 #124609
monochromatic
#0C031B #0C031B #1E0946 #35107C #4C17B2

Accessibility & contrast

On white

17.75
#1E0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0946
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0946#FFFFFF#000000##FFFFFF
##1E09461.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e0946;
/* rgb */ color: rgb(30, 9, 70);
/* oklch */ color: oklch(22.1% 0.104 291.0);
Tailwind
colors: {
  custom: {
    50: '#604b7a',
    500: '#1e0946',
    950: '#000000',
  },
}
SCSS
$custom: #1e0946;
$custom-light: #604b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0946",
  "rgb": {
    "r": 30,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 260.656,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22139,
    "c": 0.10396,
    "h": 291
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#1E0946
secondary
#648427
accent
#F434B2
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0946

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

Preview Lab → · Contrast checker → · Palette generator →

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