#1F1925#1F1925

#1F1925 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.6% C 0.024 H 307.2°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#1F1925
RGBrgb(31, 25, 37)
HSLhsl(270, 19%, 12%)
HSVhsv(270, 32%, 15%)
CMYKcmyk(16.2%, 32.4%, 0%, 85.5%)
CIE-LABlab(9.95, 6.04, -7.13)
CIE-LCHlch(9.95, 9.35, 310.28°)
OKLaboklab(22.61% 0.0148 -0.0194)
OKLCHoklch(22.61% 0.024 307.2)
XYZxyz(1.2466, 1.1201, 1.9004)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1925 #1F2519
analogous
#191925 #1F1925 #251925
triadic
#1F1925 #251F19 #19251F
tetradic
#1F1925 #251919 #1F2519 #192525
square
#1F1925 #251919 #1F2519 #192525
split-complementary
#1F1925 #252519 #192519
monochromatic
#0F0C12 #0F0C12 #1F1925 #3E324A #5C4A6E

Accessibility & contrast

On white

17.16
#1F1925 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1F1925 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1925
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1925#FFFFFF#000000##FFFFFF
##1F19251.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171B26
Deuteranopia (green-blind)
#181B25
Tritanopia (blue-blind)
#1E1B1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1f1925;
/* rgb */ color: rgb(31, 25, 37);
/* oklch */ color: oklch(22.6% 0.024 307.2);
Tailwind
colors: {
  custom: {
    50: '#5a555f',
    500: '#1f1925',
    950: '#000000',
  },
}
SCSS
$custom: #1f1925;
$custom-light: #5a555f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1925",
  "rgb": {
    "r": 31,
    "g": 25,
    "b": 37
  },
  "hsl": {
    "h": 270,
    "s": 19.355,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22609,
    "c": 0.02443,
    "h": 307.2
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#1F1925
secondary
#4D5742
accent
#BC6C94
background
#F5F4F5
surface
#E9E8E9
border
#C5C4C5
text
#040304
muted
#797879

Preview Lab

Preview with #1F1925

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

Preview Lab → · Contrast checker → · Palette generator →

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