#1A0740#1A0740

#1A0740 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.099 H 290.2°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#1A0740
RGBrgb(26, 7, 64)
HSLhsl(260, 80%, 14%)
HSVhsv(260, 89%, 25%)
CMYKcmyk(59.4%, 89.1%, 0%, 74.9%)
CIE-LABlab(6.70, 25.51, -32.09)
CIE-LCHlch(6.70, 40.99, 308.48°)
OKLaboklab(20.68% 0.0341 -0.0926)
OKLCHoklch(20.68% 0.099 290.2)
XYZxyz(1.4271, 0.7417, 4.9175)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0740 #2D4007
analogous
#071140 #1A0740 #370740
triadic
#1A0740 #401A07 #07401A
tetradic
#1A0740 #400711 #2D4007 #074037
square
#1A0740 #400711 #2D4007 #074037
split-complementary
#1A0740 #403707 #114007
monochromatic
#0B031C #0B031C #1A0740 #300D77 #4713AE

Accessibility & contrast

On white

18.29
#1A0740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0740
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0740#FFFFFF#000000##FFFFFF
##1A07401.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#0C1723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a0740;
/* rgb */ color: rgb(26, 7, 64);
/* oklch */ color: oklch(20.7% 0.099 290.2);
Tailwind
colors: {
  custom: {
    50: '#5c4975',
    500: '#1a0740',
    950: '#000000',
  },
}
SCSS
$custom: #1a0740;
$custom-light: #5c4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0740",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 260,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20678,
    "c": 0.0987,
    "h": 290.2
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#1A0740
secondary
#617F24
accent
#F731B5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0740

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

Preview Lab → · Contrast checker → · Palette generator →

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