#1F0930#1F0930

#1F0930 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.075 H 306.7°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#1F0930
RGBrgb(31, 9, 48)
HSLhsl(274, 68%, 11%)
HSVhsv(274, 81%, 19%)
CMYKcmyk(35.4%, 81.3%, 0%, 81.2%)
CIE-LABlab(6.32, 20.08, -21.02)
CIE-LCHlch(6.32, 29.06, 313.69°)
OKLaboklab(20.04% 0.0449 -0.0602)
OKLCHoklch(20.04% 0.075 306.7)
XYZxyz(1.1961, 0.7001, 2.8678)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0930 #1A3009
analogous
#0B0930 #1F0930 #30092D
triadic
#1F0930 #301F09 #09301F
tetradic
#1F0930 #300B09 #1A3009 #092D30
square
#1F0930 #300B09 #1A3009 #092D30
split-complementary
#1F0930 #2D3009 #09300B
monochromatic
#11051A #11051A #1F0930 #401364 #621C97

Accessibility & contrast

On white

18.42
#1F0930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1F0930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0930
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0930#FFFFFF#000000##FFFFFF
##1F09301.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#02142F
Tritanopia (blue-blind)
#1C121B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1f0930;
/* rgb */ color: rgb(31, 9, 48);
/* oklch */ color: oklch(20.0% 0.075 306.7);
Tailwind
colors: {
  custom: {
    50: '#5c4a68',
    500: '#1f0930',
    950: '#000000',
  },
}
SCSS
$custom: #1f0930;
$custom-light: #5c4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0930",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 273.846,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20037,
    "c": 0.07509,
    "h": 306.7
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#1F0930
secondary
#466E27
accent
#EB3D89
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1F0930

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

Preview Lab → · Contrast checker → · Palette generator →

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