#1F0E69#1F0E69

#1F0E69 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.144 H 279.2°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#1F0E69
RGBrgb(31, 14, 105)
HSLhsl(251, 76%, 23%)
HSVhsv(251, 87%, 41%)
CMYKcmyk(70.5%, 86.7%, 0%, 58.8%)
CIE-LABlab(13.38, 35.99, -49.08)
CIE-LCHlch(13.38, 60.86, 306.26°)
OKLaboklab(26.96% 0.023 -0.1417)
OKLCHoklch(26.96% 0.144 279.2)
XYZxyz(3.2711, 1.6250, 13.5031)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0E69 #58690E
analogous
#0E2A69 #1F0E69 #4C0E69
triadic
#1F0E69 #691F0E #0E691F
tetradic
#1F0E69 #690E2A #58690E #0E694C
square
#1F0E69 #690E2A #58690E #0E694C
split-complementary
#1F0E69 #694C0E #2A690E
monochromatic
#08041B #0F0733 #1F0E69 #2F159F #3F1CD5

Accessibility & contrast

On white

15.85
#1F0E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1F0E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0E69
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0E69#FFFFFF#000000##FFFFFF
##1F0E691.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266B
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1f0e69;
/* rgb */ color: rgb(31, 14, 105);
/* oklch */ color: oklch(27.0% 0.144 279.2);
Tailwind
colors: {
  custom: {
    50: '#675095',
    500: '#1f0e69',
    950: '#000000',
  },
}
SCSS
$custom: #1f0e69;
$custom-light: #675095;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0e69",
  "rgb": {
    "r": 31,
    "g": 14,
    "b": 105
  },
  "hsl": {
    "h": 251.209,
    "s": 76.471,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.14358,
    "h": 279.2
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#1F0E69
secondary
#8DA231
accent
#F335CF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F0E69

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

Preview Lab → · Contrast checker → · Palette generator →

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