#1F0433#1F0433

#1F0433 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.088 H 306.1°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#1F0433
RGBrgb(31, 4, 51)
HSLhsl(274, 85%, 11%)
HSVhsv(274, 92%, 20%)
CMYKcmyk(39.2%, 92.2%, 0%, 80%)
CIE-LABlab(5.58, 23.62, -24.44)
CIE-LCHlch(5.58, 33.99, 314.03°)
OKLaboklab(19.48% 0.0519 -0.0711)
OKLCHoklch(19.48% 0.088 306.1)
XYZxyz(1.2059, 0.6172, 3.1869)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0433 #183304
analogous
#070433 #1F0433 #33042F
triadic
#1F0433 #331F04 #04331F
tetradic
#1F0433 #330704 #183304 #042F33
square
#1F0433 #330704 #183304 #042F33
split-complementary
#1F0433 #2F3304 #043307
monochromatic
#11021C #11021C #1F0433 #41086C #640DA4

Accessibility & contrast

On white

18.69
#1F0433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1F0433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0433
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0433#FFFFFF#000000##FFFFFF
##1F04331.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#1B0F1B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1f0433;
/* rgb */ color: rgb(31, 4, 51);
/* oklch */ color: oklch(19.5% 0.088 306.1);
Tailwind
colors: {
  custom: {
    50: '#5d486b',
    500: '#1f0433',
    950: '#000000',
  },
}
SCSS
$custom: #1f0433;
$custom-light: #5d486b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0433",
  "rgb": {
    "r": 31,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 274.468,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1948,
    "c": 0.08798,
    "h": 306.1
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#1F0433
secondary
#43751D
accent
#FC2C84
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1F0433

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

Preview Lab → · Contrast checker → · Palette generator →

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