#1E0948#1E0948

#1E0948 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.107 H 290.1°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#1E0948
RGBrgb(30, 9, 72)
HSLhsl(260, 78%, 16%)
HSVhsv(260, 88%, 28%)
CMYKcmyk(58.3%, 87.5%, 0%, 71.8%)
CIE-LABlab(8.47, 27.84, -34.81)
CIE-LCHlch(8.47, 44.58, 308.65°)
OKLaboklab(22.36% 0.0365 -0.1001)
OKLCHoklch(22.36% 0.107 290.1)
XYZxyz(1.8025, 0.9392, 6.2159)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0948 #334809
analogous
#091348 #1E0948 #3D0948
triadic
#1E0948 #481E09 #09481E
tetradic
#1E0948 #480913 #334809 #09483D
square
#1E0948 #480913 #334809 #09483D
split-complementary
#1E0948 #483D09 #134809
monochromatic
#0B031B #0B031B #1E0948 #35107E #4B17B5

Accessibility & contrast

On white

17.68
#1E0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1E0948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0948
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0948#FFFFFF#000000##FFFFFF
##1E09481.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001747
Tritanopia (blue-blind)
#0E1B28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1e0948;
/* rgb */ color: rgb(30, 9, 72);
/* oklch */ color: oklch(22.4% 0.107 290.1);
Tailwind
colors: {
  custom: {
    50: '#604b7c',
    500: '#1e0948',
    950: '#000000',
  },
}
SCSS
$custom: #1e0948;
$custom-light: #604b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0948",
  "rgb": {
    "r": 30,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 260,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22364,
    "c": 0.10655,
    "h": 290.1
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#1E0948
secondary
#668527
accent
#F434B4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0948

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

Preview Lab → · Contrast checker → · Palette generator →

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