#1F0633#1F0633

#1F0633 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.084 H 305.3°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#1F0633
RGBrgb(31, 6, 51)
HSLhsl(273, 79%, 11%)
HSVhsv(273, 88%, 20%)
CMYKcmyk(39.2%, 88.2%, 0%, 80%)
CIE-LABlab(5.97, 22.63, -23.81)
CIE-LCHlch(5.97, 32.84, 313.54°)
OKLaboklab(19.82% 0.0488 -0.0687)
OKLCHoklch(19.82% 0.084 305.3)
XYZxyz(1.2276, 0.6606, 3.1942)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0633 #1A3306
analogous
#080633 #1F0633 #330630
triadic
#1F0633 #331F06 #06331F
tetradic
#1F0633 #330806 #1A3306 #063033
square
#1F0633 #330806 #1A3306 #063033
split-complementary
#1F0633 #303306 #063308
monochromatic
#11031B #11031B #1F0633 #400C6A #6213A1

Accessibility & contrast

On white

18.55
#1F0633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F0633
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0633#FFFFFF#000000##FFFFFF
##1F06331.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#1B111C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1f0633;
/* rgb */ color: rgb(31, 6, 51);
/* oklch */ color: oklch(19.8% 0.084 305.3);
Tailwind
colors: {
  custom: {
    50: '#5d496b',
    500: '#1f0633',
    950: '#000000',
  },
}
SCSS
$custom: #1f0633;
$custom-light: #5d496b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0633",
  "rgb": {
    "r": 31,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 273.333,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19821,
    "c": 0.08428,
    "h": 305.3
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#1F0633
secondary
#467421
accent
#F53289
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1F0633

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

Preview Lab → · Contrast checker → · Palette generator →

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