#1A0641#1A0641

#1A0641 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.101 H 290.0°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#1A0641
RGBrgb(26, 6, 65)
HSLhsl(260, 83%, 14%)
HSVhsv(260, 91%, 25%)
CMYKcmyk(60%, 90.8%, 0%, 74.5%)
CIE-LABlab(6.61, 26.42, -32.95)
CIE-LCHlch(6.61, 42.24, 308.72°)
OKLaboklab(20.64% 0.0347 -0.0952)
OKLCHoklch(20.64% 0.101 290)
XYZxyz(1.4450, 0.7314, 5.0650)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0641 #2D4106
analogous
#061041 #1A0641 #380641
triadic
#1A0641 #411A06 #06411A
tetradic
#1A0641 #410610 #2D4106 #064138
square
#1A0641 #410610 #2D4106 #064138
split-complementary
#1A0641 #413806 #104106
monochromatic
#0B031C #0B031C #1A0641 #300B79 #4710B1

Accessibility & contrast

On white

18.32
#1A0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1A0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0641
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0641#FFFFFF#000000##FFFFFF
##1A06411.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#0B1724
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a0641;
/* rgb */ color: rgb(26, 6, 65);
/* oklch */ color: oklch(20.6% 0.101 290.0);
Tailwind
colors: {
  custom: {
    50: '#5c4976',
    500: '#1a0641',
    950: '#000000',
  },
}
SCSS
$custom: #1a0641;
$custom-light: #5c4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0641",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 260.339,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2064,
    "c": 0.10133,
    "h": 290
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#1A0641
secondary
#618122
accent
#F92EB5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0641

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

Preview Lab → · Contrast checker → · Palette generator →

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