#1A033B#1A033B

#1A033B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.098 H 294.5°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#1A033B
RGBrgb(26, 3, 59)
HSLhsl(265, 90%, 12%)
HSVhsv(265, 95%, 23%)
CMYKcmyk(55.9%, 94.9%, 0%, 76.9%)
CIE-LABlab(5.42, 25.61, -30.57)
CIE-LCHlch(5.42, 39.88, 309.95°)
OKLaboklab(19.44% 0.0408 -0.0894)
OKLCHoklch(19.44% 0.098 294.5)
XYZxyz(1.2478, 0.6005, 4.1870)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A033B #243B03
analogous
#03083B #1A033B #36033B
triadic
#1A033B #3B1A03 #033B1A
tetradic
#1A033B #3B0308 #243B03 #033B36
square
#1A033B #3B0308 #243B03 #033B36
split-complementary
#1A033B #3B3603 #083B03
monochromatic
#0D011D #0D011D #1A033B #340675 #4D09AF

Accessibility & contrast

On white

18.75
#1A033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A033B
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A033B#FFFFFF#000000##FFFFFF
##1A033B1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123D
Deuteranopia (green-blind)
#00113A
Tritanopia (blue-blind)
#10131F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a033b;
/* rgb */ color: rgb(26, 3, 59);
/* oklch */ color: oklch(19.4% 0.098 294.5);
Tailwind
colors: {
  custom: {
    50: '#5b4772',
    500: '#1a033b',
    950: '#000000',
  },
}
SCSS
$custom: #1a033b;
$custom-light: #5b4772;
$custom-dark: #000000;
JSON
{
  "hex": "#1a033b",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 264.643,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19439,
    "c": 0.0983,
    "h": 294.5
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#1A033B
secondary
#567E1C
accent
#FF29A7
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #1A033B

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

Preview Lab → · Contrast checker → · Palette generator →

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