#1A083A#1A083A

#1A083A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.089 H 293.1°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#1A083A
RGBrgb(26, 8, 58)
HSLhsl(262, 76%, 13%)
HSVhsv(262, 86%, 23%)
CMYKcmyk(55.2%, 86.2%, 0%, 77.3%)
CIE-LABlab(6.31, 22.67, -28.40)
CIE-LCHlch(6.31, 36.34, 308.60°)
OKLaboklab(20.16% 0.0351 -0.0821)
OKLCHoklch(20.16% 0.089 293.1)
XYZxyz(1.2763, 0.6987, 4.0698)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A083A #283A08
analogous
#080F3A #1A083A #33083A
triadic
#1A083A #3A1A08 #083A1A
tetradic
#1A083A #3A080F #283A08 #083A33
square
#1A083A #3A080F #283A08 #083A33
split-complementary
#1A083A #3A3308 #0F3A08
monochromatic
#0C041B #0C041B #1A083A #320F70 #4A17A6

Accessibility & contrast

On white

18.42
#1A083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1A083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A083A
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A083A#FFFFFF#000000##FFFFFF
##1A083A1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#101520
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a083a;
/* rgb */ color: rgb(26, 8, 58);
/* oklch */ color: oklch(20.2% 0.089 293.1);
Tailwind
colors: {
  custom: {
    50: '#5b4971',
    500: '#1a083a',
    950: '#000000',
  },
}
SCSS
$custom: #1a083a;
$custom-light: #5b4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1a083a",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 261.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20162,
    "c": 0.08931,
    "h": 293.1
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#1A083A
secondary
#5B7925
accent
#F235AE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A083A

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

Preview Lab → · Contrast checker → · Palette generator →

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