#1A0737#1A0737

#1A0737 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.087 H 295.4°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#1A0737
RGBrgb(26, 7, 55)
HSLhsl(264, 77%, 12%)
HSVhsv(264, 87%, 22%)
CMYKcmyk(52.7%, 87.3%, 0%, 78.4%)
CIE-LABlab(5.85, 21.98, -26.97)
CIE-LCHlch(5.85, 34.79, 309.17°)
OKLaboklab(19.67% 0.0372 -0.0784)
OKLCHoklch(19.67% 0.087 295.4)
XYZxyz(1.1914, 0.6474, 3.6759)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0737 #243707
analogous
#070C37 #1A0737 #320737
triadic
#1A0737 #371A07 #07371A
tetradic
#1A0737 #37070C #243707 #073732
square
#1A0737 #37070C #243707 #073732
split-complementary
#1A0737 #373207 #0C3707
monochromatic
#0D031B #0D031B #1A0737 #340E6D #4D15A4

Accessibility & contrast

On white

18.59
#1A0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0737
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0737#FFFFFF#000000##FFFFFF
##1A07371.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#12141E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a0737;
/* rgb */ color: rgb(26, 7, 55);
/* oklch */ color: oklch(19.7% 0.087 295.4);
Tailwind
colors: {
  custom: {
    50: '#5a496e',
    500: '#1a0737',
    950: '#000000',
  },
}
SCSS
$custom: #1a0737;
$custom-light: #5a496e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0737",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 263.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19672,
    "c": 0.08678,
    "h": 295.4
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#1A0737
secondary
#567723
accent
#F434A8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A0737

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

Preview Lab → · Contrast checker → · Palette generator →

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