#1D1058#1D1058

#1D1058 is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.0% C 0.120 H 281.6°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#1D1058
RGBrgb(29, 16, 88)
HSLhsl(251, 69%, 20%)
HSVhsv(251, 82%, 35%)
CMYKcmyk(67%, 81.8%, 0%, 65.5%)
CIE-LABlab(11.53, 29.11, -40.81)
CIE-LCHlch(11.53, 50.13, 305.50°)
OKLaboklab(25.02% 0.0241 -0.1177)
OKLCHoklch(25.02% 0.12 281.6)
XYZxyz(2.4529, 1.3362, 9.3593)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1058 #4B5810
analogous
#102758 #1D1058 #411058
triadic
#1D1058 #581D10 #10581D
tetradic
#1D1058 #581027 #4B5810 #105841
square
#1D1058 #581027 #4B5810 #105841
split-complementary
#1D1058 #584110 #275810
monochromatic
#09051A #0C0724 #1D1058 #2E198C #3F23C0

Accessibility & contrast

On white

16.57
#1D1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1058
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1058#FFFFFF#000000##FFFFFF
##1D10581.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d1058;
/* rgb */ color: rgb(29, 16, 88);
/* oklch */ color: oklch(25.0% 0.120 281.6);
Tailwind
colors: {
  custom: {
    50: '#625088',
    500: '#1d1058',
    950: '#000000',
  },
}
SCSS
$custom: #1d1058;
$custom-light: #625088;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1058",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 250.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25018,
    "c": 0.12015,
    "h": 281.6
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#1D1058
secondary
#809132
accent
#EC3CCC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D1058

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

Preview Lab → · Contrast checker → · Palette generator →

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