#1D0C53#1D0C53

#1D0C53 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.118 H 284.0°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#1D0C53
RGBrgb(29, 12, 83)
HSLhsl(254, 75%, 19%)
HSVhsv(254, 86%, 33%)
CMYKcmyk(65.1%, 85.5%, 0%, 67.5%)
CIE-LABlab(10.17, 29.66, -39.64)
CIE-LCHlch(10.17, 49.51, 306.81°)
OKLaboklab(23.9% 0.0285 -0.1142)
OKLCHoklch(23.9% 0.118 284)
XYZxyz(2.1990, 1.1485, 8.2877)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0C53 #42530C
analogous
#0C1E53 #1D0C53 #400C53
triadic
#1D0C53 #531D0C #0C531D
tetradic
#1D0C53 #530C1E #42530C #0C5340
square
#1D0C53 #530C1E #42530C #0C5340
split-complementary
#1D0C53 #53400C #1E530C
monochromatic
#09041B #0A041E #1D0C53 #301488 #421BBE

Accessibility & contrast

On white

17.08
#1D0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1D0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0C53
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0C53#FFFFFF#000000##FFFFFF
##1D0C531.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1d0c53;
/* rgb */ color: rgb(29, 12, 83);
/* oklch */ color: oklch(23.9% 0.118 284.0);
Tailwind
colors: {
  custom: {
    50: '#624d84',
    500: '#1d0c53',
    950: '#000000',
  },
}
SCSS
$custom: #1d0c53;
$custom-light: #624d84;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0c53",
  "rgb": {
    "r": 29,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 254.366,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23898,
    "c": 0.11776,
    "h": 284
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#1D0C53
secondary
#778E2D
accent
#F136C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1D0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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