#1F0649#1F0649

#1F0649 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.111 H 291.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#1F0649
RGBrgb(31, 6, 73)
HSLhsl(262, 85%, 15%)
HSVhsv(262, 92%, 29%)
CMYKcmyk(57.5%, 91.8%, 0%, 71.4%)
CIE-LABlab(8.15, 29.97, -36.04)
CIE-LCHlch(8.15, 46.87, 309.75°)
OKLaboklab(22.21% 0.0406 -0.1036)
OKLCHoklch(22.21% 0.111 291.4)
XYZxyz(1.8325, 0.9025, 6.3797)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0649 #304906
analogous
#060E49 #1F0649 #400649
triadic
#1F0649 #491F06 #06491F
tetradic
#1F0649 #49060E #304906 #064940
square
#1F0649 #49060E #304906 #064940
split-complementary
#1F0649 #494006 #0E4906
monochromatic
#0C021C #0C021C #1F0649 #370B82 #4F0FBA

Accessibility & contrast

On white

17.79
#1F0649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1F0649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0649
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0649#FFFFFF#000000##FFFFFF
##1F06491.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#101A28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1f0649;
/* rgb */ color: rgb(31, 6, 73);
/* oklch */ color: oklch(22.2% 0.111 291.4);
Tailwind
colors: {
  custom: {
    50: '#614a7d',
    500: '#1f0649',
    950: '#000000',
  },
}
SCSS
$custom: #1f0649;
$custom-light: #614a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0649",
  "rgb": {
    "r": 31,
    "g": 6,
    "b": 73
  },
  "hsl": {
    "h": 262.388,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22207,
    "c": 0.11128,
    "h": 291.4
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#1F0649
secondary
#628823
accent
#FB2DAE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1F0649

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

Preview Lab → · Contrast checker → · Palette generator →

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