#1F0129#1F0129

#1F0129 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.084 H 316.6°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#1F0129
RGBrgb(31, 1, 41)
HSLhsl(285, 95%, 8%)
HSVhsv(285, 98%, 16%)
CMYKcmyk(24.4%, 97.6%, 0%, 83.9%)
CIE-LABlab(4.27, 21.29, -19.00)
CIE-LCHlch(4.27, 28.53, 318.26°)
OKLaboklab(17.92% 0.0608 -0.0576)
OKLCHoklch(17.92% 0.084 316.6)
XYZxyz(0.9761, 0.4732, 2.1373)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0129 #0B2901
analogous
#0B0129 #1F0129 #29011F
triadic
#1F0129 #291F01 #01291F
tetradic
#1F0129 #290B01 #0B2901 #011F29
square
#1F0129 #290B01 #0B2901 #011F29
split-complementary
#1F0129 #1F2901 #01290B
monochromatic
#17011E #17011E #1F0129 #4C0265 #7904A0

Accessibility & contrast

On white

19.19
#1F0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1F0129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0129
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0129#FFFFFF#000000##FFFFFF
##1F01291.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2A
Deuteranopia (green-blind)
#011028
Tritanopia (blue-blind)
#1E0814
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1f0129;
/* rgb */ color: rgb(31, 1, 41);
/* oklch */ color: oklch(17.9% 0.084 316.6);
Tailwind
colors: {
  custom: {
    50: '#5b4663',
    500: '#1f0129',
    950: '#000000',
  },
}
SCSS
$custom: #1f0129;
$custom-light: #5b4663;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0129",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 285,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17917,
    "c": 0.08373,
    "h": 316.6
  },
  "luminance": 0.00473
}

Semantic roles & 50–950 ramp

primary
#1F0129
secondary
#2D6F16
accent
#FF295E
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #1F0129

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

Preview Lab → · Contrast checker → · Palette generator →

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