#1D0F62#1D0F62

#1D0F62 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.134 H 279.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#1D0F62
RGBrgb(29, 15, 98)
HSLhsl(250, 73%, 22%)
HSVhsv(250, 85%, 38%)
CMYKcmyk(70.4%, 84.7%, 0%, 61.6%)
CIE-LABlab(12.51, 33.02, -45.90)
CIE-LCHlch(12.51, 56.54, 305.73°)
OKLaboklab(26.05% 0.0216 -0.1325)
OKLCHoklch(26.05% 0.134 279.3)
XYZxyz(2.8814, 1.4845, 11.6876)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F62 #54620F
analogous
#0F2B62 #1D0F62 #460F62
triadic
#1D0F62 #621D0F #0F621D
tetradic
#1D0F62 #620F2B #54620F #0F6246
square
#1D0F62 #620F2B #54620F #0F6246
split-complementary
#1D0F62 #62460F #2B620F
monochromatic
#08041B #0D072D #1D0F62 #2D1797 #3C1FCC

Accessibility & contrast

On white

16.19
#1D0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1D0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F62
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F62#FFFFFF#000000##FFFFFF
##1D0F621.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001D61
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d0f62;
/* rgb */ color: rgb(29, 15, 98);
/* oklch */ color: oklch(26.1% 0.134 279.3);
Tailwind
colors: {
  custom: {
    50: '#655090',
    500: '#1d0f62',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f62;
$custom-light: #655090;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f62",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 250.12,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26053,
    "c": 0.13428,
    "h": 279.3
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#1D0F62
secondary
#899B32
accent
#F038D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #1D0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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