#1A0F4D#1A0F4D

#1A0F4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.107 H 282.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#1A0F4D
RGBrgb(26, 15, 77)
HSLhsl(251, 67%, 18%)
HSVhsv(251, 81%, 30%)
CMYKcmyk(66.2%, 80.5%, 0%, 69.8%)
CIE-LABlab(9.77, 25.46, -36.17)
CIE-LCHlch(9.77, 44.23, 305.13°)
OKLaboklab(23.34% 0.0229 -0.1043)
OKLCHoklch(23.34% 0.107 282.4)
XYZxyz(1.9360, 1.0969, 7.1295)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F4D #424D0F
analogous
#0F234D #1A0F4D #390F4D
triadic
#1A0F4D #4D1A0F #0F4D1A
tetradic
#1A0F4D #4D0F23 #424D0F #0F4D39
square
#1A0F4D #4D0F23 #424D0F #0F4D39
split-complementary
#1A0F4D #4D390F #234D0F
monochromatic
#09051A #09051A #1A0F4D #2B1980 #3D23B3

Accessibility & contrast

On white

17.22
#1A0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F4D
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F4D#FFFFFF#000000##FFFFFF
##1A0F4D1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0f4d;
/* rgb */ color: rgb(26, 15, 77);
/* oklch */ color: oklch(23.3% 0.107 282.4);
Tailwind
colors: {
  custom: {
    50: '#5e4e80',
    500: '#1a0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f4d;
$custom-light: #5e4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f4d",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 250.645,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23335,
    "c": 0.10676,
    "h": 282.4
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#1A0F4D
secondary
#788731
accent
#EA3ECC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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