#1A0F4B#1A0F4B

#1A0F4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.104 H 283.0°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#1A0F4B
RGBrgb(26, 15, 75)
HSLhsl(251, 67%, 18%)
HSVhsv(251, 80%, 29%)
CMYKcmyk(65.3%, 80%, 0%, 70.6%)
CIE-LABlab(9.55, 24.75, -35.15)
CIE-LCHlch(9.55, 42.99, 305.15°)
OKLaboklab(23.11% 0.0234 -0.1013)
OKLCHoklch(23.11% 0.104 283)
XYZxyz(1.8664, 1.0691, 6.7633)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F4B #404B0F
analogous
#0F224B #1A0F4B #380F4B
triadic
#1A0F4B #4B1A0F #0F4B1A
tetradic
#1A0F4B #4B0F22 #404B0F #0F4B38
square
#1A0F4B #4B0F22 #404B0F #0F4B38
split-complementary
#1A0F4B #4B380F #224B0F
monochromatic
#09051A #09051A #1A0F4B #2C197E #3D23B1

Accessibility & contrast

On white

17.30
#1A0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F4B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F4B#FFFFFF#000000##FFFFFF
##1A0F4B1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0f4b;
/* rgb */ color: rgb(26, 15, 75);
/* oklch */ color: oklch(23.1% 0.104 283.0);
Tailwind
colors: {
  custom: {
    50: '#5e4e7e',
    500: '#1a0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f4b;
$custom-light: #5e4e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f4b",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 251,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23112,
    "c": 0.10395,
    "h": 283
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#1A0F4B
secondary
#768530
accent
#EA3ECA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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