#1D0F60#1D0F60

#1D0F60 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.8% C 0.132 H 279.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#1D0F60
RGBrgb(29, 15, 96)
HSLhsl(250, 73%, 22%)
HSVhsv(250, 84%, 38%)
CMYKcmyk(69.8%, 84.4%, 0%, 62.4%)
CIE-LABlab(12.27, 32.36, -44.96)
CIE-LCHlch(12.27, 55.39, 305.74°)
OKLaboklab(25.82% 0.0223 -0.1298)
OKLCHoklch(25.82% 0.132 279.7)
XYZxyz(2.7882, 1.4472, 11.1965)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F60 #52600F
analogous
#0F2A60 #1D0F60 #460F60
triadic
#1D0F60 #601D0F #0F601D
tetradic
#1D0F60 #600F2A #52600F #0F6046
square
#1D0F60 #600F2A #52600F #0F6046
split-complementary
#1D0F60 #60460F #2A600F
monochromatic
#08041A #0D072B #1D0F60 #2D1795 #3D20CA

Accessibility & contrast

On white

16.29
#1D0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1D0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F60
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F60#FFFFFF#000000##FFFFFF
##1D0F601.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001D5F
Tritanopia (blue-blind)
#002738
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d0f60;
/* rgb */ color: rgb(29, 15, 96);
/* oklch */ color: oklch(25.8% 0.132 279.7);
Tailwind
colors: {
  custom: {
    50: '#64508e',
    500: '#1d0f60',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f60;
$custom-light: #64508e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f60",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 250.37,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25815,
    "c": 0.1317,
    "h": 279.7
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#1D0F60
secondary
#879932
accent
#F038D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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