#1A0733#1A0733

#1A0733 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.081 H 298.1°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#1A0733
RGBrgb(26, 7, 51)
HSLhsl(266, 76%, 11%)
HSVhsv(266, 86%, 20%)
CMYKcmyk(49%, 86.3%, 0%, 80%)
CIE-LABlab(5.52, 20.34, -24.57)
CIE-LCHlch(5.52, 31.89, 309.62°)
OKLaboklab(19.25% 0.0384 -0.0718)
OKLCHoklch(19.25% 0.081 298.1)
XYZxyz(1.0994, 0.6106, 3.1913)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0733 #203307
analogous
#070A33 #1A0733 #300733
triadic
#1A0733 #331A07 #07331A
tetradic
#1A0733 #33070A #203307 #073330
square
#1A0733 #33070A #203307 #073330
split-complementary
#1A0733 #333007 #0A3307
monochromatic
#0E041B #0E041B #1A0733 #350E69 #51169F

Accessibility & contrast

On white

18.71
#1A0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A0733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0733
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0733#FFFFFF#000000##FFFFFF
##1A07331.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#14121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a0733;
/* rgb */ color: rgb(26, 7, 51);
/* oklch */ color: oklch(19.2% 0.081 298.1);
Tailwind
colors: {
  custom: {
    50: '#59496b',
    500: '#1a0733',
    950: '#000000',
  },
}
SCSS
$custom: #1a0733;
$custom-light: #59496b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0733",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 265.909,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19248,
    "c": 0.0814,
    "h": 298.1
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#1A0733
secondary
#507323
accent
#F235A1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1A0733

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

Preview Lab → · Contrast checker → · Palette generator →

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