#1D0F58#1D0F58

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

Color values

HEX#1D0F58
RGBrgb(29, 15, 88)
HSLhsl(252, 71%, 20%)
HSVhsv(252, 83%, 35%)
CMYKcmyk(67%, 83%, 0%, 65.5%)
CIE-LABlab(11.33, 29.68, -41.14)
CIE-LCHlch(11.33, 50.73, 305.81°)
OKLaboklab(24.88% 0.0248 -0.1187)
OKLCHoklch(24.88% 0.121 281.8)
XYZxyz(2.4384, 1.3073, 9.3545)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F58 #4A580F
analogous
#0F2558 #1D0F58 #410F58
triadic
#1D0F58 #581D0F #0F581D
tetradic
#1D0F58 #580F25 #4A580F #0F5841
square
#1D0F58 #580F25 #4A580F #0F5841
split-complementary
#1D0F58 #58410F #25580F
monochromatic
#09041A #0C0624 #1D0F58 #2E188C #3F21C1

Accessibility & contrast

On white

16.65
#1D0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1D0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F58
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F58#FFFFFF#000000##FFFFFF
##1D0F581.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d0f58;
/* rgb */ color: rgb(29, 15, 88);
/* oklch */ color: oklch(24.9% 0.121 281.8);
Tailwind
colors: {
  custom: {
    50: '#624f88',
    500: '#1d0f58',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f58;
$custom-light: #624f88;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f58",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 251.507,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24877,
    "c": 0.12122,
    "h": 281.8
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#1D0F58
secondary
#7F9231
accent
#EE3ACB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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