#1A0843#1A0843

#1A0843 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.101 H 288.4°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#1A0843
RGBrgb(26, 8, 67)
HSLhsl(258, 79%, 15%)
HSVhsv(258, 88%, 26%)
CMYKcmyk(61.2%, 88.1%, 0%, 73.7%)
CIE-LABlab(7.21, 26.08, -33.38)
CIE-LCHlch(7.21, 42.36, 308.00°)
OKLaboklab(21.17% 0.032 -0.0962)
OKLCHoklch(21.17% 0.101 288.4)
XYZxyz(1.5257, 0.7984, 5.3828)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0843 #314308
analogous
#081443 #1A0843 #380843
triadic
#1A0843 #431A08 #08431A
tetradic
#1A0843 #430814 #314308 #084338
square
#1A0843 #430814 #314308 #084338
split-complementary
#1A0843 #433808 #144308
monochromatic
#0B031B #0B031B #1A0843 #2F0F7A #4415B0

Accessibility & contrast

On white

18.11
#1A0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0843
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0843#FFFFFF#000000##FFFFFF
##1A08431.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#091925
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0843;
/* rgb */ color: rgb(26, 8, 67);
/* oklch */ color: oklch(21.2% 0.101 288.4);
Tailwind
colors: {
  custom: {
    50: '#5d4a78',
    500: '#1a0843',
    950: '#000000',
  },
}
SCSS
$custom: #1a0843;
$custom-light: #5d4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0843",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 258.305,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21174,
    "c": 0.10136,
    "h": 288.4
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#1A0843
secondary
#658125
accent
#F533BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0843

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

Preview Lab → · Contrast checker → · Palette generator →

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