#1A0130#1A0130

#1A0130 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.089 H 303.4°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#1A0130
RGBrgb(26, 1, 48)
HSLhsl(272, 96%, 10%)
HSVhsv(272, 98%, 19%)
CMYKcmyk(45.8%, 97.9%, 0%, 81.2%)
CIE-LABlab(4.11, 21.79, -24.59)
CIE-LCHlch(4.11, 32.86, 311.55°)
OKLaboklab(17.77% 0.0493 -0.0746)
OKLCHoklch(17.77% 0.089 303.4)
XYZxyz(0.9702, 0.4547, 2.8324)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0130 #173001
analogous
#030130 #1A0130 #30012F
triadic
#1A0130 #301A01 #01301A
tetradic
#1A0130 #300301 #173001 #012F30
square
#1A0130 #300301 #173001 #012F30
split-complementary
#1A0130 #2F3001 #013003
monochromatic
#10011E #10011E #1A0130 #3A026C #5B03A8

Accessibility & contrast

On white

19.25
#1A0130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1A0130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0130
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0130#FFFFFF#000000##FFFFFF
##1A01301.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E31
Deuteranopia (green-blind)
#000E2F
Tritanopia (blue-blind)
#150C18
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1a0130;
/* rgb */ color: rgb(26, 1, 48);
/* oklch */ color: oklch(17.8% 0.089 303.4);
Tailwind
colors: {
  custom: {
    50: '#584669',
    500: '#1a0130',
    950: '#000000',
  },
}
SCSS
$custom: #1a0130;
$custom-light: #584669;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0130",
  "rgb": {
    "r": 26,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 271.915,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1777,
    "c": 0.08945,
    "h": 303.4
  },
  "luminance": 0.00455
}

Semantic roles & 50–950 ramp

primary
#1A0130
secondary
#437617
accent
#FF298D
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A0130

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

Preview Lab → · Contrast checker → · Palette generator →

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