#1F0639#1F0639

#1F0639 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.092 H 300.8°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#1F0639
RGBrgb(31, 6, 57)
HSLhsl(269, 81%, 12%)
HSVhsv(269, 89%, 22%)
CMYKcmyk(45.6%, 89.5%, 0%, 77.6%)
CIE-LABlab(6.48, 24.76, -27.38)
CIE-LCHlch(6.48, 36.91, 312.12°)
OKLaboklab(20.43% 0.0469 -0.0788)
OKLCHoklch(20.43% 0.092 300.8)
XYZxyz(1.3685, 0.7170, 3.9364)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0639 #203906
analogous
#060639 #1F0639 #390639
triadic
#1F0639 #391F06 #06391F
tetradic
#1F0639 #390606 #203906 #063939
square
#1F0639 #390606 #203906 #063939
split-complementary
#1F0639 #393906 #063906
monochromatic
#0F031C #0F031C #1F0639 #3D0C70 #5B12A8

Accessibility & contrast

On white

18.37
#1F0639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1F0639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0639
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0639#FFFFFF#000000##FFFFFF
##1F06391.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#19131F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1f0639;
/* rgb */ color: rgb(31, 6, 57);
/* oklch */ color: oklch(20.4% 0.092 300.8);
Tailwind
colors: {
  custom: {
    50: '#5e4970',
    500: '#1f0639',
    950: '#000000',
  },
}
SCSS
$custom: #1f0639;
$custom-light: #5e4970;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0639",
  "rgb": {
    "r": 31,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 269.412,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20431,
    "c": 0.09169,
    "h": 300.8
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#1F0639
secondary
#4E7922
accent
#F73096
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #1F0639

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

Preview Lab → · Contrast checker → · Palette generator →

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