#1D0E57#1D0E57

#1D0E57 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.6% C 0.121 H 282.3°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1D0E57
RGBrgb(29, 14, 87)
HSLhsl(252, 72%, 20%)
HSVhsv(252, 84%, 34%)
CMYKcmyk(66.7%, 83.9%, 0%, 65.9%)
CIE-LABlab(11.02, 29.90, -40.97)
CIE-LCHlch(11.02, 50.72, 306.13°)
OKLaboklab(24.63% 0.0258 -0.1182)
OKLCHoklch(24.63% 0.121 282.3)
XYZxyz(2.3835, 1.2632, 9.1332)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E57 #48570E
analogous
#0E2357 #1D0E57 #420E57
triadic
#1D0E57 #571D0E #0E571D
tetradic
#1D0E57 #570E23 #48570E #0E5742
square
#1D0E57 #570E23 #48570E #0E5742
split-complementary
#1D0E57 #57420E #23570E
monochromatic
#09041A #0B0622 #1D0E57 #2F168C #401FC0

Accessibility & contrast

On white

16.77
#1D0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1D0E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E57
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E57#FFFFFF#000000##FFFFFF
##1D0E571.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001B56
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d0e57;
/* rgb */ color: rgb(29, 14, 87);
/* oklch */ color: oklch(24.6% 0.121 282.3);
Tailwind
colors: {
  custom: {
    50: '#624f87',
    500: '#1d0e57',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e57;
$custom-light: #624f87;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e57",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 252.329,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24626,
    "c": 0.12095,
    "h": 282.3
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#1D0E57
secondary
#7D9130
accent
#EF39CA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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