#1A0A43#1A0A43

#1A0A43 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.099 H 287.8°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#1A0A43
RGBrgb(26, 10, 67)
HSLhsl(257, 74%, 15%)
HSVhsv(257, 85%, 26%)
CMYKcmyk(61.2%, 85.1%, 0%, 73.7%)
CIE-LABlab(7.60, 24.98, -32.74)
CIE-LCHlch(7.60, 41.18, 307.34°)
OKLaboklab(21.46% 0.0302 -0.0942)
OKLCHoklch(21.46% 0.099 287.8)
XYZxyz(1.5474, 0.8419, 5.3901)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A43 #33430A
analogous
#0A1743 #1A0A43 #360A43
triadic
#1A0A43 #431A0A #0A431A
tetradic
#1A0A43 #430A17 #33430A #0A4336
square
#1A0A43 #430A17 #33430A #0A4336
split-complementary
#1A0A43 #43360A #17430A
monochromatic
#0A041B #0A041B #1A0A43 #2F1278 #431AAE

Accessibility & contrast

On white

17.97
#1A0A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1A0A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0A43
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A43#FFFFFF#000000##FFFFFF
##1A0A431.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#091A26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0a43;
/* rgb */ color: rgb(26, 10, 67);
/* oklch */ color: oklch(21.5% 0.099 287.8);
Tailwind
colors: {
  custom: {
    50: '#5c4b78',
    500: '#1a0a43',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a43;
$custom-light: #5c4b78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a43",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 256.842,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21463,
    "c": 0.09892,
    "h": 287.8
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#1A0A43
secondary
#688029
accent
#F137BD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0A43

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

Preview Lab → · Contrast checker → · Palette generator →

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