#1D0F63#1D0F63

#1D0F63 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.136 H 279.0°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#1D0F63
RGBrgb(29, 15, 99)
HSLhsl(250, 74%, 22%)
HSVhsv(250, 85%, 39%)
CMYKcmyk(70.7%, 84.8%, 0%, 61.2%)
CIE-LABlab(12.63, 33.35, -46.36)
CIE-LCHlch(12.63, 57.11, 305.73°)
OKLaboklab(26.17% 0.0213 -0.1339)
OKLCHoklch(26.17% 0.136 279)
XYZxyz(2.9289, 1.5035, 11.9378)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F63 #55630F
analogous
#0F2B63 #1D0F63 #470F63
triadic
#1D0F63 #631D0F #0F631D
tetradic
#1D0F63 #630F2B #55630F #0F6347
square
#1D0F63 #630F2B #55630F #0F6347
split-complementary
#1D0F63 #63470F #2B630F
monochromatic
#08041B #0D072E #1D0F63 #2D1798 #3C1FCD

Accessibility & contrast

On white

16.14
#1D0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F63
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F63#FFFFFF#000000##FFFFFF
##1D0F631.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d0f63;
/* rgb */ color: rgb(29, 15, 99);
/* oklch */ color: oklch(26.2% 0.136 279.0);
Tailwind
colors: {
  custom: {
    50: '#655090',
    500: '#1d0f63',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f63;
$custom-light: #655090;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f63",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 250,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26173,
    "c": 0.13557,
    "h": 279
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#1D0F63
secondary
#8A9C32
accent
#F037D2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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