#1D1059#1D1059

#1D1059 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.1% C 0.121 H 281.3°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#1D1059
RGBrgb(29, 16, 89)
HSLhsl(251, 70%, 21%)
HSVhsv(251, 82%, 35%)
CMYKcmyk(67.4%, 82%, 0%, 65.1%)
CIE-LABlab(11.64, 29.45, -41.29)
CIE-LCHlch(11.64, 50.72, 305.50°)
OKLaboklab(25.13% 0.0238 -0.1191)
OKLCHoklch(25.13% 0.121 281.3)
XYZxyz(2.4946, 1.3529, 9.5789)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1059 #4C5910
analogous
#102759 #1D1059 #411059
triadic
#1D1059 #591D10 #10591D
tetradic
#1D1059 #591027 #4C5910 #105941
square
#1D1059 #591027 #4C5910 #105941
split-complementary
#1D1059 #594110 #275910
monochromatic
#08051A #0C0725 #1D1059 #2E198D #3F23C1

Accessibility & contrast

On white

16.53
#1D1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1059
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1059#FFFFFF#000000##FFFFFF
##1D10591.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001C58
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d1059;
/* rgb */ color: rgb(29, 16, 89);
/* oklch */ color: oklch(25.1% 0.121 281.3);
Tailwind
colors: {
  custom: {
    50: '#635089',
    500: '#1d1059',
    950: '#000000',
  },
}
SCSS
$custom: #1d1059;
$custom-light: #635089;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1059",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 250.685,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.12149,
    "h": 281.3
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#1D1059
secondary
#819233
accent
#EC3BCD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D1059

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

Preview Lab → · Contrast checker → · Palette generator →

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