#1A0E4B#1A0E4B

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

Color values

HEX#1A0E4B
RGBrgb(26, 14, 75)
HSLhsl(252, 69%, 17%)
HSVhsv(252, 81%, 29%)
CMYKcmyk(65.3%, 81.3%, 0%, 70.6%)
CIE-LABlab(9.33, 25.37, -35.51)
CIE-LCHlch(9.33, 43.64, 305.54°)
OKLaboklab(22.96% 0.0243 -0.1023)
OKLCHoklch(22.96% 0.105 283.4)
XYZxyz(1.8526, 1.0416, 6.7587)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E4B #3F4B0E
analogous
#0E214B #1A0E4B #380E4B
triadic
#1A0E4B #4B1A0E #0E4B1A
tetradic
#1A0E4B #4B0E21 #3F4B0E #0E4B38
square
#1A0E4B #4B0E21 #3F4B0E #0E4B38
split-complementary
#1A0E4B #4B380E #214B0E
monochromatic
#09051A #09051A #1A0E4B #2C187F #3E21B2

Accessibility & contrast

On white

17.38
#1A0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1A0E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E4B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E4B#FFFFFF#000000##FFFFFF
##1A0E4B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a0e4b;
/* rgb */ color: rgb(26, 14, 75);
/* oklch */ color: oklch(23.0% 0.105 283.4);
Tailwind
colors: {
  custom: {
    50: '#5e4e7e',
    500: '#1a0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e4b;
$custom-light: #5e4e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e4b",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 251.803,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22955,
    "c": 0.10518,
    "h": 283.4
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#1A0E4B
secondary
#75862F
accent
#EB3CC9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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