#1E0F4F#1E0F4F

#1E0F4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.109 H 285.5°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#1E0F4F
RGBrgb(30, 15, 79)
HSLhsl(254, 68%, 18%)
HSVhsv(254, 81%, 31%)
CMYKcmyk(62%, 81%, 0%, 69%)
CIE-LABlab(10.42, 26.78, -36.47)
CIE-LCHlch(10.42, 45.25, 306.29°)
OKLaboklab(23.97% 0.0291 -0.105)
OKLCHoklch(23.97% 0.109 285.5)
XYZxyz(2.1171, 1.1821, 7.5122)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F4F #404F0F
analogous
#0F204F #1E0F4F #3E0F4F
triadic
#1E0F4F #4F1E0F #0F4F1E
tetradic
#1E0F4F #4F0F20 #404F0F #0F4F3E
square
#1E0F4F #4F0F20 #404F0F #0F4F3E
split-complementary
#1E0F4F #4F3E0F #204F0F
monochromatic
#0A051A #0A051C #1E0F4F #321982 #4523B6

Accessibility & contrast

On white

16.98
#1E0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1E0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0F4F
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F4F#FFFFFF#000000##FFFFFF
##1E0F4F1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e0f4f;
/* rgb */ color: rgb(30, 15, 79);
/* oklch */ color: oklch(24.0% 0.109 285.5);
Tailwind
colors: {
  custom: {
    50: '#614f81',
    500: '#1e0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f4f;
$custom-light: #614f81;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f4f",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 254.063,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23966,
    "c": 0.10895,
    "h": 285.5
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#1E0F4F
secondary
#748931
accent
#EB3DC2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1E0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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