#1A0335#1A0335

#1A0335 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.091 H 298.6°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#1A0335
RGBrgb(26, 3, 53)
HSLhsl(268, 89%, 11%)
HSVhsv(268, 94%, 21%)
CMYKcmyk(50.9%, 94.3%, 0%, 79.2%)
CIE-LABlab(4.89, 23.07, -27.04)
CIE-LCHlch(4.89, 35.55, 310.47°)
OKLaboklab(18.74% 0.0436 -0.08)
OKLCHoklch(18.74% 0.091 298.6)
XYZxyz(1.1010, 0.5418, 3.4140)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0335 #1E3503
analogous
#030535 #1A0335 #330335
triadic
#1A0335 #351A03 #03351A
tetradic
#1A0335 #350305 #1E3503 #033533
square
#1A0335 #350305 #1E3503 #033533
split-complementary
#1A0335 #353303 #053503
monochromatic
#0E021D #0E021D #1A0335 #36066F #530AA9

Accessibility & contrast

On white

18.95
#1A0335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0335
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0335#FFFFFF#000000##FFFFFF
##1A03351.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#13101C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1a0335;
/* rgb */ color: rgb(26, 3, 53);
/* oklch */ color: oklch(18.7% 0.091 298.6);
Tailwind
colors: {
  custom: {
    50: '#5a476d',
    500: '#1a0335',
    950: '#000000',
  },
}
SCSS
$custom: #1a0335;
$custom-light: #5a476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0335",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 267.6,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18737,
    "c": 0.09112,
    "h": 298.6
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#1A0335
secondary
#4E781C
accent
#FF299C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0335

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

Preview Lab → · Contrast checker → · Palette generator →

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