#1A0738#1A0738

#1A0738 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.088 H 294.7°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#1A0738
RGBrgb(26, 7, 56)
HSLhsl(263, 78%, 12%)
HSVhsv(263, 88%, 22%)
CMYKcmyk(53.6%, 87.5%, 0%, 78%)
CIE-LABlab(5.94, 22.38, -27.56)
CIE-LCHlch(5.94, 35.50, 309.08°)
OKLaboklab(19.78% 0.0369 -0.08)
OKLCHoklch(19.78% 0.088 294.7)
XYZxyz(1.2156, 0.6571, 3.8034)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0738 #253807
analogous
#070D38 #1A0738 #330738
triadic
#1A0738 #381A07 #07381A
tetradic
#1A0738 #38070D #253807 #073833
square
#1A0738 #38070D #253807 #073833
split-complementary
#1A0738 #383307 #0D3807
monochromatic
#0D031B #0D031B #1A0738 #330E6E #4D15A5

Accessibility & contrast

On white

18.56
#1A0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0738
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0738#FFFFFF#000000##FFFFFF
##1A07381.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#11141F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a0738;
/* rgb */ color: rgb(26, 7, 56);
/* oklch */ color: oklch(19.8% 0.088 294.7);
Tailwind
colors: {
  custom: {
    50: '#5a496f',
    500: '#1a0738',
    950: '#000000',
  },
}
SCSS
$custom: #1a0738;
$custom-light: #5a496f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0738",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 263.265,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.1978,
    "c": 0.08812,
    "h": 294.7
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#1A0738
secondary
#577823
accent
#F434AA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A0738

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

Preview Lab → · Contrast checker → · Palette generator →

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