#1A0127#1A0127

#1A0127 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.080 H 311.9°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#1A0127
RGBrgb(26, 1, 39)
HSLhsl(279, 95%, 8%)
HSVhsv(279, 97%, 15%)
CMYKcmyk(33.3%, 97.4%, 0%, 84.7%)
CIE-LABlab(3.50, 17.80, -18.71)
CIE-LCHlch(3.50, 25.82, 313.56°)
OKLaboklab(16.78% 0.0533 -0.0594)
OKLCHoklch(16.78% 0.08 311.9)
XYZxyz(0.8030, 0.3878, 1.9516)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0127 #0E2701
analogous
#070127 #1A0127 #270121
triadic
#1A0127 #271A01 #01271A
tetradic
#1A0127 #270701 #0E2701 #012127
square
#1A0127 #270701 #0E2701 #012127
split-complementary
#1A0127 #212701 #012707
monochromatic
#14011E #14011E #1A0127 #420363 #6A049E

Accessibility & contrast

On white

19.49
#1A0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1A0127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0127
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0127#FFFFFF#000000##FFFFFF
##1A01271.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000D26
Tritanopia (blue-blind)
#180813
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1a0127;
/* rgb */ color: rgb(26, 1, 39);
/* oklch */ color: oklch(16.8% 0.080 311.9);
Tailwind
colors: {
  custom: {
    50: '#564661',
    500: '#1a0127',
    950: '#000000',
  },
}
SCSS
$custom: #1a0127;
$custom-light: #564661;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0127",
  "rgb": {
    "r": 26,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 279.474,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16784,
    "c": 0.07977,
    "h": 311.9
  },
  "luminance": 0.00388
}

Semantic roles & 50–950 ramp

primary
#1A0127
secondary
#346E16
accent
#FF2972
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1A0127

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

Preview Lab → · Contrast checker → · Palette generator →

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