#1F0632#1F0632

#1F0632 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.083 H 306.2°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#1F0632
RGBrgb(31, 6, 50)
HSLhsl(274, 79%, 11%)
HSVhsv(274, 88%, 20%)
CMYKcmyk(38%, 88%, 0%, 80.4%)
CIE-LABlab(5.89, 22.27, -23.20)
CIE-LCHlch(5.89, 32.15, 313.83°)
OKLaboklab(19.72% 0.049 -0.067)
OKLCHoklch(19.72% 0.083 306.2)
XYZxyz(1.2058, 0.6519, 3.0793)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0632 #193206
analogous
#090632 #1F0632 #32062F
triadic
#1F0632 #321F06 #06321F
tetradic
#1F0632 #320906 #193206 #062F32
square
#1F0632 #320906 #193206 #062F32
split-complementary
#1F0632 #2F3206 #063209
monochromatic
#11031B #11031B #1F0632 #410D69 #63139F

Accessibility & contrast

On white

18.58
#1F0632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1F0632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0632
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0632#FFFFFF#000000##FFFFFF
##1F06321.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#1C101B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1f0632;
/* rgb */ color: rgb(31, 6, 50);
/* oklch */ color: oklch(19.7% 0.083 306.2);
Tailwind
colors: {
  custom: {
    50: '#5d496a',
    500: '#1f0632',
    950: '#000000',
  },
}
SCSS
$custom: #1f0632;
$custom-light: #5d496a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0632",
  "rgb": {
    "r": 31,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 274.091,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19723,
    "c": 0.08304,
    "h": 306.2
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#1F0632
secondary
#447321
accent
#F53387
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1F0632

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

Preview Lab → · Contrast checker → · Palette generator →

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