#1E0E4F#1E0E4F

#1E0E4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.110 H 285.8°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#1E0E4F
RGBrgb(30, 14, 79)
HSLhsl(255, 70%, 18%)
HSVhsv(255, 82%, 31%)
CMYKcmyk(62%, 82.3%, 0%, 69%)
CIE-LABlab(10.22, 27.37, -36.81)
CIE-LCHlch(10.22, 45.87, 306.63°)
OKLaboklab(23.82% 0.03 -0.106)
OKLCHoklch(23.82% 0.11 285.8)
XYZxyz(2.1033, 1.1545, 7.5076)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0E4F #3F4F0E
analogous
#0E1E4F #1E0E4F #3E0E4F
triadic
#1E0E4F #4F1E0E #0E4F1E
tetradic
#1E0E4F #4F0E1E #3F4F0E #0E4F3E
square
#1E0E4F #4F0E1E #3F4F0E #0E4F3E
split-complementary
#1E0E4F #4F3E0E #1E4F0E
monochromatic
#0A051A #0A051B #1E0E4F #321783 #4520B7

Accessibility & contrast

On white

17.06
#1E0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1E0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0E4F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0E4F#FFFFFF#000000##FFFFFF
##1E0E4F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#07202E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1e0e4f;
/* rgb */ color: rgb(30, 14, 79);
/* oklch */ color: oklch(23.8% 0.110 285.8);
Tailwind
colors: {
  custom: {
    50: '#614e81',
    500: '#1e0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1e0e4f;
$custom-light: #614e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0e4f",
  "rgb": {
    "r": 30,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 254.769,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2382,
    "c": 0.11014,
    "h": 285.8
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#1E0E4F
secondary
#738A2F
accent
#ED3BC1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1E0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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