#1D0E5E#1D0E5E

#1D0E5E is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.130 H 280.4°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#1D0E5E
RGBrgb(29, 14, 94)
HSLhsl(251, 74%, 21%)
HSVhsv(251, 85%, 37%)
CMYKcmyk(69.1%, 85.1%, 0%, 63.1%)
CIE-LABlab(11.85, 32.23, -44.32)
CIE-LCHlch(11.85, 54.80, 306.02°)
OKLaboklab(25.45% 0.0235 -0.1279)
OKLCHoklch(25.45% 0.13 280.4)
XYZxyz(2.6835, 1.3832, 10.7131)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E5E #4F5E0E
analogous
#0E275E #1D0E5E #450E5E
triadic
#1D0E5E #5E1D0E #0E5E1D
tetradic
#1D0E5E #5E0E27 #4F5E0E #0E5E45
square
#1D0E5E #5E0E27 #4F5E0E #0E5E45
split-complementary
#1D0E5E #5E450E #275E0E
monochromatic
#08041B #0D0629 #1D0E5E #2D1693 #3E1EC9

Accessibility & contrast

On white

16.45
#1D0E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1D0E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E5E
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E5E#FFFFFF#000000##FFFFFF
##1D0E5E1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d0e5e;
/* rgb */ color: rgb(29, 14, 94);
/* oklch */ color: oklch(25.4% 0.130 280.4);
Tailwind
colors: {
  custom: {
    50: '#644f8d',
    500: '#1d0e5e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e5e;
$custom-light: #644f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e5e",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 251.25,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2545,
    "c": 0.13008,
    "h": 280.4
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#1D0E5E
secondary
#849830
accent
#F137CE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D0E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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