#1A0739#1A0739

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

Color values

HEX#1A0739
RGBrgb(26, 7, 57)
HSLhsl(263, 78%, 13%)
HSVhsv(263, 88%, 22%)
CMYKcmyk(54.4%, 87.7%, 0%, 77.6%)
CIE-LABlab(6.02, 22.78, -28.14)
CIE-LCHlch(6.02, 36.21, 308.99°)
OKLaboklab(19.89% 0.0366 -0.0816)
OKLCHoklch(19.89% 0.089 294.1)
XYZxyz(1.2403, 0.6669, 3.9335)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0739 #263907
analogous
#070D39 #1A0739 #330739
triadic
#1A0739 #391A07 #07391A
tetradic
#1A0739 #39070D #263907 #073933
square
#1A0739 #39070D #263907 #073933
split-complementary
#1A0739 #393307 #0D3907
monochromatic
#0C031B #0C031B #1A0739 #330E70 #4C14A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A0739#FFFFFF#000000##FFFFFF
##1A07391.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)
#00143A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#11141F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a0739;
/* rgb */ color: rgb(26, 7, 57);
/* oklch */ color: oklch(19.9% 0.089 294.1);
Tailwind
colors: {
  custom: {
    50: '#5a4970',
    500: '#1a0739',
    950: '#000000',
  },
}
SCSS
$custom: #1a0739;
$custom-light: #5a4970;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0739",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 262.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19889,
    "c": 0.08946,
    "h": 294.1
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#1A0739
secondary
#587923
accent
#F533AB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A0739

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

Preview Lab → · Contrast checker → · Palette generator →

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