#1F0B43#1F0B43

#1F0B43 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.098 H 293.0°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#1F0B43
RGBrgb(31, 11, 67)
HSLhsl(261, 72%, 15%)
HSVhsv(261, 84%, 26%)
CMYKcmyk(53.7%, 83.6%, 0%, 73.7%)
CIE-LABlab(8.44, 25.33, -31.34)
CIE-LCHlch(8.44, 40.30, 308.95°)
OKLaboklab(22.21% 0.0381 -0.0899)
OKLCHoklch(22.21% 0.098 293)
XYZxyz(1.6976, 0.9358, 5.4003)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0B43 #2F430B
analogous
#0B1343 #1F0B43 #3B0B43
triadic
#1F0B43 #431F0B #0B431F
tetradic
#1F0B43 #430B13 #2F430B #0B433B
square
#1F0B43 #430B13 #2F430B #0B433B
split-complementary
#1F0B43 #433B0B #13430B
monochromatic
#0C041A #0C041A #1F0B43 #371478 #501CAC

Accessibility & contrast

On white

17.69
#1F0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1F0B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0B43
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0B43#FFFFFF#000000##FFFFFF
##1F0B431.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001742
Tritanopia (blue-blind)
#141A26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1f0b43;
/* rgb */ color: rgb(31, 11, 67);
/* oklch */ color: oklch(22.2% 0.098 293.0);
Tailwind
colors: {
  custom: {
    50: '#5f4c78',
    500: '#1f0b43',
    950: '#000000',
  },
}
SCSS
$custom: #1f0b43;
$custom-light: #5f4c78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0b43",
  "rgb": {
    "r": 31,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 261.429,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22208,
    "c": 0.09763,
    "h": 293
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#1F0B43
secondary
#61802A
accent
#EF39AE
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1F0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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