#1D0F52#1D0F52

#1D0F52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.113 H 283.6°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#1D0F52
RGBrgb(29, 15, 82)
HSLhsl(253, 69%, 19%)
HSVhsv(253, 82%, 32%)
CMYKcmyk(64.6%, 81.7%, 0%, 67.8%)
CIE-LABlab(10.64, 27.65, -38.17)
CIE-LCHlch(10.64, 47.13, 305.91°)
OKLaboklab(24.2% 0.0266 -0.11)
OKLCHoklch(24.2% 0.113 283.6)
XYZxyz(2.2000, 1.2119, 8.0990)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F52 #44520F
analogous
#0F2352 #1D0F52 #3F0F52
triadic
#1D0F52 #521D0F #0F521D
tetradic
#1D0F52 #520F23 #44520F #0F523F
square
#1D0F52 #520F23 #44520F #0F523F
split-complementary
#1D0F52 #523F0F #23520F
monochromatic
#09051A #0B061E #1D0F52 #2F1886 #4222B9

Accessibility & contrast

On white

16.90
#1D0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1D0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F52
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F52#FFFFFF#000000##FFFFFF
##1D0F521.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d0f52;
/* rgb */ color: rgb(29, 15, 82);
/* oklch */ color: oklch(24.2% 0.113 283.6);
Tailwind
colors: {
  custom: {
    50: '#614f83',
    500: '#1d0f52',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f52;
$custom-light: #614f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f52",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 252.537,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24195,
    "c": 0.11317,
    "h": 283.6
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#1D0F52
secondary
#798C31
accent
#EC3CC7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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