#1E0741#1E0741

#1E0741 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.100 H 294.2°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#1E0741
RGBrgb(30, 7, 65)
HSLhsl(264, 81%, 14%)
HSVhsv(264, 89%, 25%)
CMYKcmyk(53.8%, 89.2%, 0%, 74.5%)
CIE-LABlab(7.31, 26.72, -31.78)
CIE-LCHlch(7.31, 41.52, 310.06°)
OKLaboklab(21.3% 0.0411 -0.0913)
OKLCHoklch(21.3% 0.1 294.2)
XYZxyz(1.5653, 0.8096, 5.0738)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0741 #2A4107
analogous
#070D41 #1E0741 #3B0741
triadic
#1E0741 #411E07 #07411E
tetradic
#1E0741 #41070D #2A4107 #07413B
square
#1E0741 #41070D #2A4107 #07413B
split-complementary
#1E0741 #413B07 #0D4107
monochromatic
#0D031C #0D031C #1E0741 #380D78 #5113B0

Accessibility & contrast

On white

18.07
#1E0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1E0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0741
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0741#FFFFFF#000000##FFFFFF
##1E07411.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#131724
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e0741;
/* rgb */ color: rgb(30, 7, 65);
/* oklch */ color: oklch(21.3% 0.100 294.2);
Tailwind
colors: {
  custom: {
    50: '#5f4976',
    500: '#1e0741',
    950: '#000000',
  },
}
SCSS
$custom: #1e0741;
$custom-light: #5f4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0741",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 263.793,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21304,
    "c": 0.10008,
    "h": 294.2
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#1E0741
secondary
#5B8024
accent
#F731A8
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E0741

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

Preview Lab → · Contrast checker → · Palette generator →

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