#1A0A4E#1A0A4E

#1A0A4E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.114 H 283.4°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#1A0A4E
RGBrgb(26, 10, 78)
HSLhsl(254, 77%, 17%)
HSVhsv(254, 87%, 31%)
CMYKcmyk(66.7%, 87.2%, 0%, 69.4%)
CIE-LABlab(8.88, 28.68, -38.34)
CIE-LCHlch(8.88, 47.88, 306.80°)
OKLaboklab(22.74% 0.0264 -0.1105)
OKLCHoklch(22.74% 0.114 283.4)
XYZxyz(1.9093, 0.9866, 7.2961)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A4E #3E4E0A
analogous
#0A1C4E #1A0A4E #3C0A4E
triadic
#1A0A4E #4E1A0A #0A4E1A
tetradic
#1A0A4E #4E0A1C #3E4E0A #0A4E3C
square
#1A0A4E #4E0A1C #3E4E0A #0A4E3C
split-complementary
#1A0A4E #4E3C0A #1C4E0A
monochromatic
#09031B #09031B #1A0A4E #2C1184 #3E18BA

Accessibility & contrast

On white

17.54
#1A0A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1A0A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0A4E
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A4E#FFFFFF#000000##FFFFFF
##1A0A4E1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B50
Deuteranopia (green-blind)
#00174D
Tritanopia (blue-blind)
#001E2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a0a4e;
/* rgb */ color: rgb(26, 10, 78);
/* oklch */ color: oklch(22.7% 0.114 283.4);
Tailwind
colors: {
  custom: {
    50: '#5f4c80',
    500: '#1a0a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a4e;
$custom-light: #5f4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a4e",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 254.118,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22742,
    "c": 0.11365,
    "h": 283.4
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#1A0A4E
secondary
#748B29
accent
#F434C7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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