#1F0F67#1F0F67

#1F0F67 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.140 H 279.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#1F0F67
RGBrgb(31, 15, 103)
HSLhsl(251, 75%, 23%)
HSVhsv(251, 85%, 40%)
CMYKcmyk(69.9%, 85.4%, 0%, 59.6%)
CIE-LABlab(13.30, 34.86, -47.89)
CIE-LCHlch(13.30, 59.24, 306.05°)
OKLaboklab(26.83% 0.0232 -0.1383)
OKLCHoklch(26.83% 0.14 279.5)
XYZxyz(3.1833, 1.6120, 12.9727)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0F67 #57670F
analogous
#0F2B67 #1F0F67 #4B0F67
triadic
#1F0F67 #671F0F #0F671F
tetradic
#1F0F67 #670F2B #57670F #0F674B
square
#1F0F67 #670F2B #57670F #0F674B
split-complementary
#1F0F67 #674B0F #2B670F
monochromatic
#08041B #0F0732 #1F0F67 #2F179C #3F1FD2

Accessibility & contrast

On white

15.88
#1F0F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1F0F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0F67
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0F67#FFFFFF#000000##FFFFFF
##1F0F671.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002A3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1f0f67;
/* rgb */ color: rgb(31, 15, 103);
/* oklch */ color: oklch(26.8% 0.140 279.5);
Tailwind
colors: {
  custom: {
    50: '#675193',
    500: '#1f0f67',
    950: '#000000',
  },
}
SCSS
$custom: #1f0f67;
$custom-light: #675193;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0f67",
  "rgb": {
    "r": 31,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 250.909,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26829,
    "c": 0.14021,
    "h": 279.5
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#1F0F67
secondary
#8CA032
accent
#F137CF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F0F67

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

Preview Lab → · Contrast checker → · Palette generator →

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