#1D0F54#1D0F54

#1D0F54 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.116 H 283.0°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#1D0F54
RGBrgb(29, 15, 84)
HSLhsl(252, 70%, 19%)
HSVhsv(252, 82%, 33%)
CMYKcmyk(65.5%, 82.1%, 0%, 67.1%)
CIE-LABlab(10.87, 28.33, -39.17)
CIE-LCHlch(10.87, 48.34, 305.87°)
OKLaboklab(24.42% 0.026 -0.1129)
OKLCHoklch(24.42% 0.116 283)
XYZxyz(2.2773, 1.2428, 8.5057)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F54 #46540F
analogous
#0F2454 #1D0F54 #400F54
triadic
#1D0F54 #541D0F #0F541D
tetradic
#1D0F54 #540F24 #46540F #0F5440
square
#1D0F54 #540F24 #46540F #0F5440
split-complementary
#1D0F54 #54400F #24540F
monochromatic
#09051A #0B0620 #1D0F54 #2F1888 #4122BC

Accessibility & contrast

On white

16.82
#1D0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F54
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F54#FFFFFF#000000##FFFFFF
##1D0F541.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001B53
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d0f54;
/* rgb */ color: rgb(29, 15, 84);
/* oklch */ color: oklch(24.4% 0.116 283.0);
Tailwind
colors: {
  custom: {
    50: '#614f85',
    500: '#1d0f54',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f54;
$custom-light: #614f85;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f54",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 252.174,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2442,
    "c": 0.11587,
    "h": 283
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#1D0F54
secondary
#7B8E31
accent
#ED3BC9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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