#1A0638#1A0638

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

Color values

HEX#1A0638
RGBrgb(26, 6, 56)
HSLhsl(264, 81%, 12%)
HSVhsv(264, 89%, 22%)
CMYKcmyk(53.6%, 89.3%, 0%, 78%)
CIE-LABlab(5.74, 22.87, -27.88)
CIE-LCHlch(5.74, 36.06, 309.37°)
OKLaboklab(19.61% 0.0382 -0.0812)
OKLCHoklch(19.61% 0.09 295.2)
XYZxyz(1.2047, 0.6354, 3.7998)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0638 #243806
analogous
#060B38 #1A0638 #330638
triadic
#1A0638 #381A06 #06381A
tetradic
#1A0638 #38060B #243806 #063833
square
#1A0638 #38060B #243806 #063833
split-complementary
#1A0638 #383306 #0B3806
monochromatic
#0D031C #0D031C #1A0638 #340C6F #4D12A7

Accessibility & contrast

On white

18.63
#1A0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1A0638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0638
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0638#FFFFFF#000000##FFFFFF
##1A06381.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#11131E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a0638;
/* rgb */ color: rgb(26, 6, 56);
/* oklch */ color: oklch(19.6% 0.090 295.2);
Tailwind
colors: {
  custom: {
    50: '#5a486f',
    500: '#1a0638',
    950: '#000000',
  },
}
SCSS
$custom: #1a0638;
$custom-light: #5a486f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0638",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 264,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19611,
    "c": 0.08971,
    "h": 295.2
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#1A0638
secondary
#567821
accent
#F731A8
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0638

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

Preview Lab → · Contrast checker → · Palette generator →

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