#1A083B#1A083B

#1A083B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.091 H 292.5°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#1A083B
RGBrgb(26, 8, 59)
HSLhsl(261, 76%, 13%)
HSVhsv(261, 86%, 23%)
CMYKcmyk(55.9%, 86.4%, 0%, 76.9%)
CIE-LABlab(6.40, 23.07, -28.98)
CIE-LCHlch(6.40, 37.03, 308.52°)
OKLaboklab(20.27% 0.0347 -0.0837)
OKLCHoklch(20.27% 0.091 292.5)
XYZxyz(1.3020, 0.7090, 4.2051)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A083B #293B08
analogous
#08103B #1A083B #33083B
triadic
#1A083B #3B1A08 #083B1A
tetradic
#1A083B #3B0810 #293B08 #083B33
square
#1A083B #3B0810 #293B08 #083B33
split-complementary
#1A083B #3B3308 #103B08
monochromatic
#0C041B #0C041B #1A083B #320F71 #4917A7

Accessibility & contrast

On white

18.39
#1A083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A083B
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A083B#FFFFFF#000000##FFFFFF
##1A083B1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00133A
Tritanopia (blue-blind)
#0F1621
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a083b;
/* rgb */ color: rgb(26, 8, 59);
/* oklch */ color: oklch(20.3% 0.091 292.5);
Tailwind
colors: {
  custom: {
    50: '#5b4971',
    500: '#1a083b',
    950: '#000000',
  },
}
SCSS
$custom: #1a083b;
$custom-light: #5b4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1a083b",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 261.176,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20271,
    "c": 0.09066,
    "h": 292.5
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#1A083B
secondary
#5C7A25
accent
#F335B0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1A083B

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

Preview Lab → · Contrast checker → · Palette generator →

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