#1F0130#1F0130

#1F0130 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.091 H 309.9°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#1F0130
RGBrgb(31, 1, 48)
HSLhsl(278, 96%, 10%)
HSVhsv(278, 98%, 19%)
CMYKcmyk(35.4%, 97.9%, 0%, 81.2%)
CIE-LABlab(4.75, 23.95, -23.52)
CIE-LCHlch(4.75, 33.57, 315.52°)
OKLaboklab(18.62% 0.0582 -0.0697)
OKLCHoklch(18.62% 0.091 309.9)
XYZxyz(1.1093, 0.5264, 2.8389)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0130 #123001
analogous
#080130 #1F0130 #30012A
triadic
#1F0130 #301F01 #01301F
tetradic
#1F0130 #300801 #123001 #012A30
square
#1F0130 #300801 #123001 #012A30
split-complementary
#1F0130 #2A3001 #013008
monochromatic
#13011E #13011E #1F0130 #46026C #6C03A8

Accessibility & contrast

On white

19.00
#1F0130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1F0130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0130
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0130#FFFFFF#000000##FFFFFF
##1F01301.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#1C0C18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1f0130;
/* rgb */ color: rgb(31, 1, 48);
/* oklch */ color: oklch(18.6% 0.091 309.9);
Tailwind
colors: {
  custom: {
    50: '#5c4669',
    500: '#1f0130',
    950: '#000000',
  },
}
SCSS
$custom: #1f0130;
$custom-light: #5c4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0130",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 278.298,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18623,
    "c": 0.09083,
    "h": 309.9
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#1F0130
secondary
#397617
accent
#FF2976
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1F0130

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

Preview Lab → · Contrast checker → · Palette generator →

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