#1D0F57#1D0F57

#1D0F57 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.120 H 282.1°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#1D0F57
RGBrgb(29, 15, 87)
HSLhsl(252, 71%, 20%)
HSVhsv(252, 83%, 34%)
CMYKcmyk(66.7%, 82.8%, 0%, 65.9%)
CIE-LABlab(11.21, 29.34, -40.65)
CIE-LCHlch(11.21, 50.13, 305.83°)
OKLaboklab(24.76% 0.0251 -0.1172)
OKLCHoklch(24.76% 0.12 282.1)
XYZxyz(2.3973, 1.2908, 9.1378)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F57 #49570F
analogous
#0F2557 #1D0F57 #410F57
triadic
#1D0F57 #571D0F #0F571D
tetradic
#1D0F57 #570F25 #49570F #0F5741
square
#1D0F57 #570F25 #49570F #0F5741
split-complementary
#1D0F57 #57410F #25570F
monochromatic
#09051A #0C0623 #1D0F57 #2E188B #4021BF

Accessibility & contrast

On white

16.69
#1D0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F57
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F57#FFFFFF#000000##FFFFFF
##1D0F571.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0f57;
/* rgb */ color: rgb(29, 15, 87);
/* oklch */ color: oklch(24.8% 0.120 282.1);
Tailwind
colors: {
  custom: {
    50: '#624f87',
    500: '#1d0f57',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f57;
$custom-light: #624f87;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f57",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 251.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24762,
    "c": 0.11989,
    "h": 282.1
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#1D0F57
secondary
#7E9131
accent
#ED3ACB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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