#1A0634#1A0634

#1A0634 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.084 H 297.9°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#1A0634
RGBrgb(26, 6, 52)
HSLhsl(266, 79%, 11%)
HSVhsv(266, 88%, 20%)
CMYKcmyk(50%, 88.5%, 0%, 79.6%)
CIE-LABlab(5.40, 21.23, -25.49)
CIE-LCHlch(5.40, 33.17, 309.78°)
OKLaboklab(19.18% 0.0395 -0.0746)
OKLCHoklch(19.18% 0.084 297.9)
XYZxyz(1.1108, 0.5978, 3.3050)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0634 #203406
analogous
#060934 #1A0634 #310634
triadic
#1A0634 #341A06 #06341A
tetradic
#1A0634 #340609 #203406 #063431
square
#1A0634 #340609 #203406 #063431
split-complementary
#1A0634 #343106 #093406
monochromatic
#0E031B #0E031B #1A0634 #350C6B #5113A2

Accessibility & contrast

On white

18.76
#1A0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A0634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0634
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0634#FFFFFF#000000##FFFFFF
##1A06341.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#13121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a0634;
/* rgb */ color: rgb(26, 6, 52);
/* oklch */ color: oklch(19.2% 0.084 297.9);
Tailwind
colors: {
  custom: {
    50: '#59486c',
    500: '#1a0634',
    950: '#000000',
  },
}
SCSS
$custom: #1a0634;
$custom-light: #59486c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0634",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 266.087,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19175,
    "c": 0.08447,
    "h": 297.9
  },
  "luminance": 0.00598
}

Semantic roles & 50–950 ramp

primary
#1A0634
secondary
#507421
accent
#F632A1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0634

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

Preview Lab → · Contrast checker → · Palette generator →

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