#1A0649#1A0649

#1A0649 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.112 H 286.3°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#1A0649
RGBrgb(26, 6, 73)
HSLhsl(258, 85%, 15%)
HSVhsv(258, 92%, 29%)
CMYKcmyk(64.4%, 91.8%, 0%, 71.4%)
CIE-LABlab(7.50, 29.28, -37.13)
CIE-LCHlch(7.50, 47.28, 308.26°)
OKLaboklab(21.6% 0.0314 -0.107)
OKLCHoklch(21.6% 0.112 286.3)
XYZxyz(1.6934, 0.8308, 6.3732)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0649 #354906
analogous
#061449 #1A0649 #3B0649
triadic
#1A0649 #491A06 #06491A
tetradic
#1A0649 #490614 #354906 #06493B
square
#1A0649 #490614 #354906 #06493B
split-complementary
#1A0649 #493B06 #144906
monochromatic
#0A021C #0A021C #1A0649 #2E0B82 #420FBA

Accessibility & contrast

On white

18.01
#1A0649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1A0649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0649
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0649#FFFFFF#000000##FFFFFF
##1A06491.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#031B28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0649;
/* rgb */ color: rgb(26, 6, 73);
/* oklch */ color: oklch(21.6% 0.112 286.3);
Tailwind
colors: {
  custom: {
    50: '#5e497d',
    500: '#1a0649',
    950: '#000000',
  },
}
SCSS
$custom: #1a0649;
$custom-light: #5e497d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0649",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 73
  },
  "hsl": {
    "h": 257.91,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21604,
    "c": 0.1115,
    "h": 286.3
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#1A0649
secondary
#6A8823
accent
#FB2DBD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0649

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

Preview Lab → · Contrast checker → · Palette generator →

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