#1E0740#1E0740

#1E0740 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.099 H 294.8°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#1E0740
RGBrgb(30, 7, 64)
HSLhsl(264, 80%, 14%)
HSVhsv(264, 89%, 25%)
CMYKcmyk(53.1%, 89.1%, 0%, 74.9%)
CIE-LABlab(7.21, 26.39, -31.23)
CIE-LCHlch(7.21, 40.89, 310.19°)
OKLaboklab(21.19% 0.0414 -0.0897)
OKLCHoklch(21.19% 0.099 294.8)
XYZxyz(1.5366, 0.7981, 4.9226)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0740 #294007
analogous
#070C40 #1E0740 #3B0740
triadic
#1E0740 #401E07 #07401E
tetradic
#1E0740 #40070C #294007 #07403B
square
#1E0740 #40070C #294007 #07403B
split-complementary
#1E0740 #403B07 #0C4007
monochromatic
#0D031C #0D031C #1E0740 #380D77 #5213AE

Accessibility & contrast

On white

18.11
#1E0740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0740
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0740#FFFFFF#000000##FFFFFF
##1E07401.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#141723
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e0740;
/* rgb */ color: rgb(30, 7, 64);
/* oklch */ color: oklch(21.2% 0.099 294.8);
Tailwind
colors: {
  custom: {
    50: '#5f4975',
    500: '#1e0740',
    950: '#000000',
  },
}
SCSS
$custom: #1e0740;
$custom-light: #5f4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0740",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 264.211,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21194,
    "c": 0.09882,
    "h": 294.8
  },
  "luminance": 0.00798
}

Semantic roles & 50–950 ramp

primary
#1E0740
secondary
#5A7F24
accent
#F731A7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E0740

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

Preview Lab → · Contrast checker → · Palette generator →

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