#1D1253#1D1253

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

Color values

HEX#1D1253
RGBrgb(29, 18, 83)
HSLhsl(250, 64%, 20%)
HSVhsv(250, 78%, 33%)
CMYKcmyk(65.1%, 78.3%, 0%, 67.5%)
CIE-LABlab(11.40, 26.17, -37.61)
CIE-LCHlch(11.40, 45.82, 304.83°)
OKLaboklab(24.76% 0.0238 -0.1084)
OKLCHoklch(24.76% 0.111 282.4)
XYZxyz(2.2838, 1.3182, 8.3160)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1253 #485312
analogous
#122853 #1D1253 #3E1253
triadic
#1D1253 #531D12 #12531D
tetradic
#1D1253 #531228 #485312 #12533E
square
#1D1253 #531228 #485312 #12533E
split-complementary
#1D1253 #533E12 #285312
monochromatic
#090519 #0B0721 #1D1253 #2F1D85 #4028B8

Accessibility & contrast

On white

16.62
#1D1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1253
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1253#FFFFFF#000000##FFFFFF
##1D12531.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001C52
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d1253;
/* rgb */ color: rgb(29, 18, 83);
/* oklch */ color: oklch(24.8% 0.111 282.4);
Tailwind
colors: {
  custom: {
    50: '#615184',
    500: '#1d1253',
    950: '#000000',
  },
}
SCSS
$custom: #1d1253;
$custom-light: #615184;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1253",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 250.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24763,
    "c": 0.11097,
    "h": 282.4
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#1D1253
secondary
#7D8C35
accent
#E740CB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D1253

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

Preview Lab → · Contrast checker → · Palette generator →

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