#1F0441#1F0441

#1F0441 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.104 H 296.3°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#1F0441
RGBrgb(31, 4, 65)
HSLhsl(267, 88%, 14%)
HSVhsv(267, 94%, 25%)
CMYKcmyk(52.3%, 93.8%, 0%, 74.5%)
CIE-LABlab(6.86, 28.58, -32.51)
CIE-LCHlch(6.86, 43.29, 311.33°)
OKLaboklab(21% 0.0462 -0.0935)
OKLCHoklch(21% 0.104 296.3)
XYZxyz(1.5624, 0.7598, 5.0643)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0441 #264104
analogous
#040841 #1F0441 #3D0441
triadic
#1F0441 #411F04 #04411F
tetradic
#1F0441 #410408 #264104 #04413D
square
#1F0441 #410408 #264104 #04413D
split-complementary
#1F0441 #413D04 #084104
monochromatic
#0E021D #0E021D #1F0441 #3A087B #560BB4

Accessibility & contrast

On white

18.23
#1F0441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1F0441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0441
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0441#FFFFFF#000000##FFFFFF
##1F04411.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#151623
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1f0441;
/* rgb */ color: rgb(31, 4, 65);
/* oklch */ color: oklch(21.0% 0.104 296.3);
Tailwind
colors: {
  custom: {
    50: '#604876',
    500: '#1f0441',
    950: '#000000',
  },
}
SCSS
$custom: #1f0441;
$custom-light: #604876;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0441",
  "rgb": {
    "r": 31,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 266.557,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21001,
    "c": 0.10433,
    "h": 296.3
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#1F0441
secondary
#56821F
accent
#FF29A0
background
#F5F4F7
surface
#EAE6ED
border
#C6C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1F0441

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

Preview Lab → · Contrast checker → · Palette generator →

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