#1F0A44#1F0A44

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

Color values

HEX#1F0A44
RGBrgb(31, 10, 68)
HSLhsl(262, 74%, 15%)
HSVhsv(262, 85%, 27%)
CMYKcmyk(54.4%, 85.3%, 0%, 73.3%)
CIE-LABlab(8.36, 26.20, -32.19)
CIE-LCHlch(8.36, 41.50, 309.15°)
OKLaboklab(22.18% 0.0388 -0.0924)
OKLCHoklch(22.18% 0.1 292.8)
XYZxyz(1.7167, 0.9257, 5.5559)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0A44 #2F440A
analogous
#0A1244 #1F0A44 #3C0A44
triadic
#1F0A44 #441F0A #0A441F
tetradic
#1F0A44 #440A12 #2F440A #0A443C
square
#1F0A44 #440A12 #2F440A #0A443C
split-complementary
#1F0A44 #443C0A #12440A
monochromatic
#0C041B #0C041B #1F0A44 #371279 #501AAF

Accessibility & contrast

On white

17.72
#1F0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1F0A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0A44
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0A44#FFFFFF#000000##FFFFFF
##1F0A441.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001743
Tritanopia (blue-blind)
#131A26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1f0a44;
/* rgb */ color: rgb(31, 10, 68);
/* oklch */ color: oklch(22.2% 0.100 292.8);
Tailwind
colors: {
  custom: {
    50: '#604b79',
    500: '#1f0a44',
    950: '#000000',
  },
}
SCSS
$custom: #1f0a44;
$custom-light: #604b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0a44",
  "rgb": {
    "r": 31,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 261.724,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22179,
    "c": 0.10018,
    "h": 292.8
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#1F0A44
secondary
#618129
accent
#F137AE
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1F0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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