#1A0334#1A0334

#1A0334 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.090 H 299.3°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#1A0334
RGBrgb(26, 3, 52)
HSLhsl(268, 89%, 11%)
HSVhsv(268, 94%, 20%)
CMYKcmyk(50%, 94.2%, 0%, 79.6%)
CIE-LABlab(4.81, 22.64, -26.44)
CIE-LCHlch(4.81, 34.81, 310.57°)
OKLaboklab(18.62% 0.044 -0.0784)
OKLCHoklch(18.62% 0.09 299.3)
XYZxyz(1.0782, 0.5327, 3.2942)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0334 #1D3403
analogous
#030534 #1A0334 #320334
triadic
#1A0334 #341A03 #03341A
tetradic
#1A0334 #340305 #1D3403 #033432
square
#1A0334 #340305 #1D3403 #033432
split-complementary
#1A0334 #343203 #053403
monochromatic
#0E021D #0E021D #1A0334 #37066E #540AA8

Accessibility & contrast

On white

18.98
#1A0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1A0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0334
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0334#FFFFFF#000000##FFFFFF
##1A03341.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001035
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#14101B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a0334;
/* rgb */ color: rgb(26, 3, 52);
/* oklch */ color: oklch(18.6% 0.090 299.3);
Tailwind
colors: {
  custom: {
    50: '#59476c',
    500: '#1a0334',
    950: '#000000',
  },
}
SCSS
$custom: #1a0334;
$custom-light: #59476c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0334",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 268.163,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18623,
    "c": 0.08993,
    "h": 299.3
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#1A0334
secondary
#4C771C
accent
#FF299A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0334

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

Preview Lab → · Contrast checker → · Palette generator →

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