#1F0E59#1F0E59

#1F0E59 is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.123 H 283.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#1F0E59
RGBrgb(31, 14, 89)
HSLhsl(254, 73%, 20%)
HSVhsv(254, 84%, 35%)
CMYKcmyk(65.2%, 84.3%, 0%, 65.1%)
CIE-LABlab(11.46, 30.83, -41.59)
CIE-LCHlch(11.46, 51.76, 306.55°)
OKLaboklab(25.06% 0.0285 -0.1199)
OKLCHoklch(25.06% 0.123 283.4)
XYZxyz(2.5247, 1.3265, 9.5723)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0E59 #48590E
analogous
#0E2259 #1F0E59 #440E59
triadic
#1F0E59 #591F0E #0E591F
tetradic
#1F0E59 #590E22 #48590E #0E5944
square
#1F0E59 #590E22 #48590E #0E5944
split-complementary
#1F0E59 #59440E #22590E
monochromatic
#09041A #0D0624 #1F0E59 #31168E #441FC3

Accessibility & contrast

On white

16.60
#1F0E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1F0E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0E59
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0E59#FFFFFF#000000##FFFFFF
##1F0E591.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001C58
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1f0e59;
/* rgb */ color: rgb(31, 14, 89);
/* oklch */ color: oklch(25.1% 0.123 283.4);
Tailwind
colors: {
  custom: {
    50: '#644f89',
    500: '#1f0e59',
    950: '#000000',
  },
}
SCSS
$custom: #1f0e59;
$custom-light: #644f89;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0e59",
  "rgb": {
    "r": 31,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 253.6,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25056,
    "c": 0.12325,
    "h": 283.4
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#1F0E59
secondary
#7D9330
accent
#F038C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1F0E59

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

Preview Lab → · Contrast checker → · Palette generator →

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