#1A0535#1A0535

#1A0535 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.087 H 297.7°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#1A0535
RGBrgb(26, 5, 53)
HSLhsl(266, 83%, 11%)
HSVhsv(266, 91%, 21%)
CMYKcmyk(50.9%, 90.6%, 0%, 79.2%)
CIE-LABlab(5.29, 22.12, -26.41)
CIE-LCHlch(5.29, 34.45, 309.95°)
OKLaboklab(19.1% 0.0406 -0.0775)
OKLCHoklch(19.1% 0.088 297.7)
XYZxyz(1.1227, 0.5852, 3.4213)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0535 #203505
analogous
#050835 #1A0535 #320535
triadic
#1A0535 #351A05 #05351A
tetradic
#1A0535 #350508 #203505 #053532
square
#1A0535 #350508 #203505 #053532
split-complementary
#1A0535 #353205 #083505
monochromatic
#0E031C #0E031C #1A0535 #350A6D #5110A5

Accessibility & contrast

On white

18.80
#1A0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A0535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0535
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0535#FFFFFF#000000##FFFFFF
##1A05351.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#13121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a0535;
/* rgb */ color: rgb(26, 5, 53);
/* oklch */ color: oklch(19.1% 0.087 297.7);
Tailwind
colors: {
  custom: {
    50: '#59486d',
    500: '#1a0535',
    950: '#000000',
  },
}
SCSS
$custom: #1a0535;
$custom-light: #59486d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0535",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 266.25,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19104,
    "c": 0.0875,
    "h": 297.7
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#1A0535
secondary
#507620
accent
#F92FA1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0535

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

Preview Lab → · Contrast checker → · Palette generator →

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