#1A083F#1A083F

#1A083F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.096 H 290.4°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#1A083F
RGBrgb(26, 8, 63)
HSLhsl(260, 77%, 14%)
HSVhsv(260, 87%, 25%)
CMYKcmyk(58.7%, 87.3%, 0%, 75.3%)
CIE-LABlab(6.79, 24.60, -31.22)
CIE-LCHlch(6.79, 39.75, 308.24°)
OKLaboklab(20.72% 0.0334 -0.09)
OKLCHoklch(20.72% 0.096 290.4)
XYZxyz(1.4098, 0.7521, 4.7725)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A083F #2D3F08
analogous
#08123F #1A083F #36083F
triadic
#1A083F #3F1A08 #083F1A
tetradic
#1A083F #3F0812 #2D3F08 #083F36
square
#1A083F #3F0812 #2D3F08 #083F36
split-complementary
#1A083F #3F3608 #123F08
monochromatic
#0B031B #0B031B #1A083F #300F75 #4716AC

Accessibility & contrast

On white

18.25
#1A083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1A083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A083F
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A083F#FFFFFF#000000##FFFFFF
##1A083F1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#0D1723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a083f;
/* rgb */ color: rgb(26, 8, 63);
/* oklch */ color: oklch(20.7% 0.096 290.4);
Tailwind
colors: {
  custom: {
    50: '#5c4a75',
    500: '#1a083f',
    950: '#000000',
  },
}
SCSS
$custom: #1a083f;
$custom-light: #5c4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1a083f",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 259.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20716,
    "c": 0.09604,
    "h": 290.4
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#1A083F
secondary
#617E25
accent
#F434B5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A083F

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

Preview Lab → · Contrast checker → · Palette generator →

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