#1E0F4E#1E0F4E

#1E0F4E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.108 H 285.9°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#1E0F4E
RGBrgb(30, 15, 78)
HSLhsl(254, 68%, 18%)
HSVhsv(254, 81%, 31%)
CMYKcmyk(61.5%, 80.8%, 0%, 69.4%)
CIE-LABlab(10.32, 26.45, -35.96)
CIE-LCHlch(10.32, 44.64, 306.33°)
OKLaboklab(23.86% 0.0294 -0.1035)
OKLCHoklch(23.86% 0.108 285.9)
XYZxyz(2.0810, 1.1676, 7.3220)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F4E #3F4E0F
analogous
#0F1F4E #1E0F4E #3D0F4E
triadic
#1E0F4E #4E1E0F #0F4E1E
tetradic
#1E0F4E #4E0F1F #3F4E0F #0F4E3D
square
#1E0F4E #4E0F1F #3F4E0F #0F4E3D
split-complementary
#1E0F4E #4E3D0F #1F4E0F
monochromatic
#0A051A #0A051B #1E0F4E #321981 #4523B5

Accessibility & contrast

On white

17.02
#1E0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0F4E
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F4E#FFFFFF#000000##FFFFFF
##1E0F4E1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#08202D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1e0f4e;
/* rgb */ color: rgb(30, 15, 78);
/* oklch */ color: oklch(23.9% 0.108 285.9);
Tailwind
colors: {
  custom: {
    50: '#614f80',
    500: '#1e0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f4e;
$custom-light: #614f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f4e",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 254.286,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23856,
    "c": 0.10758,
    "h": 285.9
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#1E0F4E
secondary
#738831
accent
#EB3DC1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1E0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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