#1A0933#1A0933

#1A0933 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.078 H 297.2°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1A0933
RGBrgb(26, 9, 51)
HSLhsl(264, 70%, 12%)
HSVhsv(264, 82%, 20%)
CMYKcmyk(49%, 82.4%, 0%, 80%)
CIE-LABlab(5.91, 19.39, -23.94)
CIE-LCHlch(5.91, 30.80, 309.00°)
OKLaboklab(19.6% 0.0356 -0.0694)
OKLCHoklch(19.6% 0.078 297.2)
XYZxyz(1.1211, 0.6540, 3.1985)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0933 #223309
analogous
#090D33 #1A0933 #2F0933
triadic
#1A0933 #331A09 #09331A
tetradic
#1A0933 #33090D #223309 #09332F
square
#1A0933 #33090D #223309 #09332F
split-complementary
#1A0933 #332F09 #0D3309
monochromatic
#0D051A #0D051A #1A0933 #351267 #4F1B9B

Accessibility & contrast

On white

18.57
#1A0933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0933
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0933#FFFFFF#000000##FFFFFF
##1A09331.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#14131D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a0933;
/* rgb */ color: rgb(26, 9, 51);
/* oklch */ color: oklch(19.6% 0.078 297.2);
Tailwind
colors: {
  custom: {
    50: '#594a6b',
    500: '#1a0933',
    950: '#000000',
  },
}
SCSS
$custom: #1a0933;
$custom-light: #594a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0933",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 264.286,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19597,
    "c": 0.07804,
    "h": 297.2
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#1A0933
secondary
#537127
accent
#ED3BA5
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1A0933

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

Preview Lab → · Contrast checker → · Palette generator →

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