#1A0F4E#1A0F4E

#1A0F4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.108 H 282.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#1A0F4E
RGBrgb(26, 15, 78)
HSLhsl(250, 68%, 18%)
HSVhsv(250, 81%, 31%)
CMYKcmyk(66.7%, 80.8%, 0%, 69.4%)
CIE-LABlab(9.89, 25.80, -36.68)
CIE-LCHlch(9.89, 44.85, 305.13°)
OKLaboklab(23.45% 0.0227 -0.1058)
OKLCHoklch(23.45% 0.108 282.1)
XYZxyz(1.9715, 1.1112, 7.3168)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F4E #434E0F
analogous
#0F234E #1A0F4E #390F4E
triadic
#1A0F4E #4E1A0F #0F4E1A
tetradic
#1A0F4E #4E0F23 #434E0F #0F4E39
square
#1A0F4E #4E0F23 #434E0F #0F4E39
split-complementary
#1A0F4E #4E390F #234E0F
monochromatic
#09051A #09051B #1A0F4E #2B1981 #3C23B5

Accessibility & contrast

On white

17.18
#1A0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1A0F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F4E
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F4E#FFFFFF#000000##FFFFFF
##1A0F4E1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0f4e;
/* rgb */ color: rgb(26, 15, 78);
/* oklch */ color: oklch(23.4% 0.108 282.1);
Tailwind
colors: {
  custom: {
    50: '#5e4f80',
    500: '#1a0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f4e;
$custom-light: #5e4f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f4e",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 250.476,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23447,
    "c": 0.10816,
    "h": 282.1
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#1A0F4E
secondary
#798831
accent
#EB3DCC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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