#1A0741#1A0741

#1A0741 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.100 H 289.7°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#1A0741
RGBrgb(26, 7, 65)
HSLhsl(260, 81%, 14%)
HSVhsv(260, 89%, 25%)
CMYKcmyk(60%, 89.2%, 0%, 74.5%)
CIE-LABlab(6.80, 25.88, -32.63)
CIE-LCHlch(6.80, 41.65, 308.42°)
OKLaboklab(20.79% 0.0337 -0.0942)
OKLCHoklch(20.79% 0.1 289.7)
XYZxyz(1.4558, 0.7532, 5.0687)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0741 #2E4107
analogous
#071141 #1A0741 #370741
triadic
#1A0741 #411A07 #07411A
tetradic
#1A0741 #410711 #2E4107 #074137
square
#1A0741 #410711 #2E4107 #074137
split-complementary
#1A0741 #413707 #114107
monochromatic
#0B031C #0B031C #1A0741 #300D78 #4613B0

Accessibility & contrast

On white

18.25
#1A0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0741
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0741#FFFFFF#000000##FFFFFF
##1A07411.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0741;
/* rgb */ color: rgb(26, 7, 65);
/* oklch */ color: oklch(20.8% 0.100 289.7);
Tailwind
colors: {
  custom: {
    50: '#5c4976',
    500: '#1a0741',
    950: '#000000',
  },
}
SCSS
$custom: #1a0741;
$custom-light: #5c4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0741",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 259.655,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20793,
    "c": 0.10001,
    "h": 289.7
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#1A0741
secondary
#628024
accent
#F731B6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0741

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

Preview Lab → · Contrast checker → · Palette generator →

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