#1F0B49#1F0B49

#1F0B49 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.106 H 290.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#1F0B49
RGBrgb(31, 11, 73)
HSLhsl(259, 74%, 16%)
HSVhsv(259, 85%, 29%)
CMYKcmyk(57.5%, 84.9%, 0%, 71.4%)
CIE-LABlab(9.09, 27.25, -34.50)
CIE-LCHlch(9.09, 43.96, 308.31°)
OKLaboklab(22.86% 0.0362 -0.0991)
OKLCHoklch(22.86% 0.106 290.1)
XYZxyz(1.8870, 1.0116, 6.3979)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0B49 #35490B
analogous
#0B1649 #1F0B49 #3E0B49
triadic
#1F0B49 #491F0B #0B491F
tetradic
#1F0B49 #490B16 #35490B #0B493E
square
#1F0B49 #490B16 #35490B #0B493E
split-complementary
#1F0B49 #493E0B #16490B
monochromatic
#0B041B #0B041B #1F0B49 #36137E #4C1BB3

Accessibility & contrast

On white

17.47
#1F0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1F0B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0B49
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0B49#FFFFFF#000000##FFFFFF
##1F0B491.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001848
Tritanopia (blue-blind)
#101C29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1f0b49;
/* rgb */ color: rgb(31, 11, 73);
/* oklch */ color: oklch(22.9% 0.106 290.1);
Tailwind
colors: {
  custom: {
    50: '#614c7c',
    500: '#1f0b49',
    950: '#000000',
  },
}
SCSS
$custom: #1f0b49;
$custom-light: #614c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0b49",
  "rgb": {
    "r": 31,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 259.355,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22856,
    "c": 0.10557,
    "h": 290.1
  },
  "luminance": 0.01012
}

Semantic roles & 50–950 ramp

primary
#1F0B49
secondary
#68852A
accent
#F037B5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1F0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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