#1A0847#1A0847

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

Color values

HEX#1A0847
RGBrgb(26, 8, 71)
HSLhsl(257, 80%, 15%)
HSVhsv(257, 89%, 28%)
CMYKcmyk(63.4%, 88.7%, 0%, 72.2%)
CIE-LABlab(7.66, 27.47, -35.47)
CIE-LCHlch(7.66, 44.86, 307.76°)
OKLaboklab(21.64% 0.0305 -0.1022)
OKLCHoklch(21.64% 0.107 286.6)
XYZxyz(1.6498, 0.8481, 6.0368)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0847 #354708
analogous
#081547 #1A0847 #390847
triadic
#1A0847 #471A08 #08471A
tetradic
#1A0847 #470815 #354708 #084739
square
#1A0847 #470815 #354708 #084739
split-complementary
#1A0847 #473908 #154708
monochromatic
#0A031C #0A031C #1A0847 #2E0E7E #4214B5

Accessibility & contrast

On white

17.95
#1A0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0847
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0847#FFFFFF#000000##FFFFFF
##1A08471.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#051B28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0847;
/* rgb */ color: rgb(26, 8, 71);
/* oklch */ color: oklch(21.6% 0.107 286.6);
Tailwind
colors: {
  custom: {
    50: '#5e4a7b',
    500: '#1a0847',
    950: '#000000',
  },
}
SCSS
$custom: #1a0847;
$custom-light: #5e4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0847",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 257.143,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21643,
    "c": 0.10662,
    "h": 286.6
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#1A0847
secondary
#6A8526
accent
#F632BE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0847

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

Preview Lab → · Contrast checker → · Palette generator →

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