#1E073B#1E073B

#1E073B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.092 H 297.8°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#1E073B
RGBrgb(30, 7, 59)
HSLhsl(267, 79%, 13%)
HSVhsv(267, 88%, 23%)
CMYKcmyk(49.2%, 88.1%, 0%, 76.9%)
CIE-LABlab(6.72, 24.66, -28.44)
CIE-LCHlch(6.72, 37.65, 310.93°)
OKLaboklab(20.65% 0.0432 -0.0818)
OKLCHoklch(20.65% 0.092 297.8)
XYZxyz(1.4006, 0.7437, 4.2066)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E073B #243B07
analogous
#070A3B #1E073B #38073B
triadic
#1E073B #3B1E07 #073B1E
tetradic
#1E073B #3B070A #243B07 #073B38
square
#1E073B #3B070A #243B07 #073B38
split-complementary
#1E073B #3B3807 #0A3B07
monochromatic
#0E031B #0E031B #1E073B #3A0D72 #5614A8

Accessibility & contrast

On white

18.28
#1E073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1E073B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E073B
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E073B#FFFFFF#000000##FFFFFF
##1E073B1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#171520
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e073b;
/* rgb */ color: rgb(30, 7, 59);
/* oklch */ color: oklch(20.7% 0.092 297.8);
Tailwind
colors: {
  custom: {
    50: '#5e4971',
    500: '#1e073b',
    950: '#000000',
  },
}
SCSS
$custom: #1e073b;
$custom-light: #5e4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1e073b",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 266.538,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20653,
    "c": 0.09248,
    "h": 297.8
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#1E073B
secondary
#547A23
accent
#F5339F
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1E073B

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

Preview Lab → · Contrast checker → · Palette generator →

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