#1A0339#1A0339

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

Color values

HEX#1A0339
RGBrgb(26, 3, 57)
HSLhsl(266, 90%, 12%)
HSVhsv(266, 95%, 22%)
CMYKcmyk(54.4%, 94.7%, 0%, 77.6%)
CIE-LABlab(5.24, 24.77, -29.41)
CIE-LCHlch(5.24, 38.46, 310.11°)
OKLaboklab(19.2% 0.0418 -0.0863)
OKLCHoklch(19.2% 0.096 295.8)
XYZxyz(1.1969, 0.5801, 3.9190)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0339 #223903
analogous
#030739 #1A0339 #350339
triadic
#1A0339 #391A03 #03391A
tetradic
#1A0339 #390307 #223903 #033935
square
#1A0339 #390307 #223903 #033935
split-complementary
#1A0339 #393503 #073903
monochromatic
#0D021D #0D021D #1A0339 #350673 #4F09AD

Accessibility & contrast

On white

18.82
#1A0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0339
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0339#FFFFFF#000000##FFFFFF
##1A03391.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#11121E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1a0339;
/* rgb */ color: rgb(26, 3, 57);
/* oklch */ color: oklch(19.2% 0.096 295.8);
Tailwind
colors: {
  custom: {
    50: '#5a4770',
    500: '#1a0339',
    950: '#000000',
  },
}
SCSS
$custom: #1a0339;
$custom-light: #5a4770;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0339",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 265.556,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19202,
    "c": 0.0959,
    "h": 295.8
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#1A0339
secondary
#537C1C
accent
#FF29A4
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0339

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

Preview Lab → · Contrast checker → · Palette generator →

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