#1A0537#1A0537

#1A0537 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.090 H 296.3°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#1A0537
RGBrgb(26, 5, 55)
HSLhsl(265, 83%, 12%)
HSVhsv(265, 91%, 22%)
CMYKcmyk(52.7%, 90.9%, 0%, 78.4%)
CIE-LABlab(5.46, 22.96, -27.60)
CIE-LCHlch(5.46, 35.90, 309.75°)
OKLaboklab(19.33% 0.0399 -0.0807)
OKLCHoklch(19.33% 0.09 296.3)
XYZxyz(1.1697, 0.6040, 3.6686)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0537 #223705
analogous
#050937 #1A0537 #330537
triadic
#1A0537 #371A05 #05371A
tetradic
#1A0537 #370509 #223705 #053733
square
#1A0537 #370509 #223705 #053733
split-complementary
#1A0537 #373305 #093705
monochromatic
#0D031C #0D031C #1A0537 #350A6F #4F0FA7

Accessibility & contrast

On white

18.74
#1A0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0537
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0537#FFFFFF#000000##FFFFFF
##1A05371.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#12121E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a0537;
/* rgb */ color: rgb(26, 5, 55);
/* oklch */ color: oklch(19.3% 0.090 296.3);
Tailwind
colors: {
  custom: {
    50: '#5a486e',
    500: '#1a0537',
    950: '#000000',
  },
}
SCSS
$custom: #1a0537;
$custom-light: #5a486e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0537",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 265.2,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19326,
    "c": 0.09006,
    "h": 296.3
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#1A0537
secondary
#537820
accent
#FA2EA4
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0537

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

Preview Lab → · Contrast checker → · Palette generator →

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