#1A0341#1A0341

#1A0341 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.105 H 291.0°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1A0341
RGBrgb(26, 3, 65)
HSLhsl(262, 91%, 13%)
HSVhsv(262, 95%, 25%)
CMYKcmyk(60%, 95.4%, 0%, 74.5%)
CIE-LABlab(6.02, 28.02, -33.91)
CIE-LCHlch(6.02, 43.99, 309.56°)
OKLaboklab(20.17% 0.0379 -0.0985)
OKLCHoklch(20.17% 0.106 291)
XYZxyz(1.4124, 0.6663, 5.0542)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0341 #2A4103
analogous
#030B41 #1A0341 #390341
triadic
#1A0341 #411A03 #03411A
tetradic
#1A0341 #41030B #2A4103 #034139
square
#1A0341 #41030B #2A4103 #034139
split-complementary
#1A0341 #413903 #0B4103
monochromatic
#0C011D #0C011D #1A0341 #31067B #4908B6

Accessibility & contrast

On white

18.53
#1A0341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1A0341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0341
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0341#FFFFFF#000000##FFFFFF
##1A03411.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#0B1623
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a0341;
/* rgb */ color: rgb(26, 3, 65);
/* oklch */ color: oklch(20.2% 0.105 291.0);
Tailwind
colors: {
  custom: {
    50: '#5d4776',
    500: '#1a0341',
    950: '#000000',
  },
}
SCSS
$custom: #1a0341;
$custom-light: #5d4776;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0341",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 262.258,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20168,
    "c": 0.1055,
    "h": 291
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#1A0341
secondary
#5D831D
accent
#FF29B0
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1A0341

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

Preview Lab → · Contrast checker → · Palette generator →

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