#1D0E5D#1D0E5D

#1D0E5D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.3% C 0.129 H 280.7°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#1D0E5D
RGBrgb(29, 14, 93)
HSLhsl(251, 74%, 21%)
HSVhsv(251, 85%, 36%)
CMYKcmyk(68.8%, 84.9%, 0%, 63.5%)
CIE-LABlab(11.73, 31.90, -43.85)
CIE-LCHlch(11.73, 54.22, 306.03°)
OKLaboklab(25.33% 0.0238 -0.1266)
OKLCHoklch(25.33% 0.129 280.7)
XYZxyz(2.6389, 1.3654, 10.4783)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E5D #4E5D0E
analogous
#0E265D #1D0E5D #440E5D
triadic
#1D0E5D #5D1D0E #0E5D1D
tetradic
#1D0E5D #5D0E26 #4E5D0E #0E5D44
square
#1D0E5D #5D0E26 #4E5D0E #0E5D44
split-complementary
#1D0E5D #5D440E #265D0E
monochromatic
#08041B #0C0628 #1D0E5D #2E1692 #3E1EC7

Accessibility & contrast

On white

16.49
#1D0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1D0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E5D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E5D#FFFFFF#000000##FFFFFF
##1D0E5D1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d0e5d;
/* rgb */ color: rgb(29, 14, 93);
/* oklch */ color: oklch(25.3% 0.129 280.7);
Tailwind
colors: {
  custom: {
    50: '#644f8c',
    500: '#1d0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e5d;
$custom-light: #644f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e5d",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 251.392,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25331,
    "c": 0.12878,
    "h": 280.7
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#1D0E5D
secondary
#839730
accent
#F037CD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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