#1A0640#1A0640

#1A0640 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.100 H 290.5°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#1A0640
RGBrgb(26, 6, 64)
HSLhsl(261, 83%, 14%)
HSVhsv(261, 91%, 25%)
CMYKcmyk(59.4%, 90.6%, 0%, 74.9%)
CIE-LABlab(6.50, 26.04, -32.41)
CIE-LCHlch(6.50, 41.57, 308.78°)
OKLaboklab(20.52% 0.0351 -0.0937)
OKLCHoklch(20.52% 0.1 290.5)
XYZxyz(1.4163, 0.7200, 4.9138)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0640 #2C4006
analogous
#060F40 #1A0640 #370640
triadic
#1A0640 #401A06 #06401A
tetradic
#1A0640 #40060F #2C4006 #064037
square
#1A0640 #40060F #2C4006 #064037
split-complementary
#1A0640 #403706 #0F4006
monochromatic
#0B031C #0B031C #1A0640 #310B78 #4710B0

Accessibility & contrast

On white

18.36
#1A0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1A0640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0640
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0640#FFFFFF#000000##FFFFFF
##1A06401.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#0C1723
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a0640;
/* rgb */ color: rgb(26, 6, 64);
/* oklch */ color: oklch(20.5% 0.100 290.5);
Tailwind
colors: {
  custom: {
    50: '#5c4975',
    500: '#1a0640',
    950: '#000000',
  },
}
SCSS
$custom: #1a0640;
$custom-light: #5c4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0640",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 260.69,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20523,
    "c": 0.10006,
    "h": 290.5
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#1A0640
secondary
#5F8022
accent
#F92FB3
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0640

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

Preview Lab → · Contrast checker → · Palette generator →

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