#1F1067#1F1067

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

Color values

HEX#1F1067
RGBrgb(31, 16, 103)
HSLhsl(250, 73%, 23%)
HSVhsv(250, 84%, 40%)
CMYKcmyk(69.9%, 84.5%, 0%, 59.6%)
CIE-LABlab(13.48, 34.36, -47.60)
CIE-LCHlch(13.48, 58.71, 305.82°)
OKLaboklab(26.95% 0.0227 -0.1375)
OKLCHoklch(26.95% 0.139 279.4)
XYZxyz(3.1978, 1.6409, 12.9775)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1067 #586710
analogous
#102C67 #1F1067 #4A1067
triadic
#1F1067 #671F10 #10671F
tetradic
#1F1067 #67102C #586710 #10674A
square
#1F1067 #67102C #586710 #10674A
split-complementary
#1F1067 #674A10 #2C6710
monochromatic
#08041A #0F0832 #1F1067 #2F189C #3F20D1

Accessibility & contrast

On white

15.81
#1F1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F1067
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1067#FFFFFF#000000##FFFFFF
##1F10671.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f1067;
/* rgb */ color: rgb(31, 16, 103);
/* oklch */ color: oklch(27.0% 0.139 279.4);
Tailwind
colors: {
  custom: {
    50: '#675193',
    500: '#1f1067',
    950: '#000000',
  },
}
SCSS
$custom: #1f1067;
$custom-light: #675193;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1067",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 250.345,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2695,
    "c": 0.13932,
    "h": 279.4
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#1F1067
secondary
#8D9F33
accent
#F038D0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1F1067

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

Preview Lab → · Contrast checker → · Palette generator →

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