#1F0E55#1F0E55

#1F0E55 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.118 H 284.6°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1F0E55
RGBrgb(31, 14, 85)
HSLhsl(254, 72%, 19%)
HSVhsv(254, 84%, 33%)
CMYKcmyk(63.5%, 83.5%, 0%, 66.7%)
CIE-LABlab(11.00, 29.51, -39.63)
CIE-LCHlch(11.00, 49.41, 306.68°)
OKLaboklab(24.6% 0.0298 -0.1142)
OKLCHoklch(24.6% 0.118 284.6)
XYZxyz(2.3613, 1.2611, 8.7116)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0E55 #44550E
analogous
#0E2155 #1F0E55 #430E55
triadic
#1F0E55 #551F0E #0E551F
tetradic
#1F0E55 #550E21 #44550E #0E5543
square
#1F0E55 #550E21 #44550E #0E5543
split-complementary
#1F0E55 #55430E #21550E
monochromatic
#0A041A #0C0520 #1F0E55 #32178A #451FBE

Accessibility & contrast

On white

16.77
#1F0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1F0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0E55
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0E55#FFFFFF#000000##FFFFFF
##1F0E551.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001B54
Tritanopia (blue-blind)
#022331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1f0e55;
/* rgb */ color: rgb(31, 14, 85);
/* oklch */ color: oklch(24.6% 0.118 284.6);
Tailwind
colors: {
  custom: {
    50: '#634f86',
    500: '#1f0e55',
    950: '#000000',
  },
}
SCSS
$custom: #1f0e55;
$custom-light: #634f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0e55",
  "rgb": {
    "r": 31,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 254.366,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24599,
    "c": 0.11801,
    "h": 284.6
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#1F0E55
secondary
#788F30
accent
#EE39C3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1F0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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