#1A082F#1A082F

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

Color values

HEX#1A082F
RGBrgb(26, 8, 47)
HSLhsl(268, 71%, 11%)
HSVhsv(268, 83%, 18%)
CMYKcmyk(44.7%, 83%, 0%, 81.6%)
CIE-LABlab(5.41, 18.23, -21.77)
CIE-LCHlch(5.41, 28.40, 309.93°)
OKLaboklab(19.02% 0.0379 -0.0637)
OKLCHoklch(19.02% 0.074 300.7)
XYZxyz(1.0258, 0.5985, 2.7503)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A082F #1D2F08
analogous
#08092F #1A082F #2D082F
triadic
#1A082F #2F1A08 #082F1A
tetradic
#1A082F #2F0809 #1D2F08 #082F2D
square
#1A082F #2F0809 #1D2F08 #082F2D
split-complementary
#1A082F #2F2D08 #092F08
monochromatic
#0E041A #0E041A #1A082F #371163 #541A98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A082F#FFFFFF#000000##FFFFFF
##1A082F1.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)
#001230
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#15111A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a082f;
/* rgb */ color: rgb(26, 8, 47);
/* oklch */ color: oklch(19.0% 0.074 300.7);
Tailwind
colors: {
  custom: {
    50: '#584968',
    500: '#1a082f',
    950: '#000000',
  },
}
SCSS
$custom: #1a082f;
$custom-light: #584968;
$custom-dark: #000000;
JSON
{
  "hex": "#1a082f",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 267.692,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19025,
    "c": 0.07412,
    "h": 300.7
  },
  "luminance": 0.00599
}

Semantic roles & 50–950 ramp

primary
#1A082F
secondary
#4C6E25
accent
#EE3A9B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #1A082F

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

Preview Lab → · Contrast checker → · Palette generator →

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