#1A083D#1A083D

#1A083D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.093 H 291.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#1A083D
RGBrgb(26, 8, 61)
HSLhsl(260, 77%, 14%)
HSVhsv(260, 87%, 24%)
CMYKcmyk(57.4%, 86.9%, 0%, 76.1%)
CIE-LABlab(6.59, 23.84, -30.11)
CIE-LCHlch(6.59, 38.40, 308.38°)
OKLaboklab(20.49% 0.0341 -0.0869)
OKLCHoklch(20.49% 0.093 291.4)
XYZxyz(1.3549, 0.7301, 4.4835)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A083D #2B3D08
analogous
#08103D #1A083D #34083D
triadic
#1A083D #3D1A08 #083D1A
tetradic
#1A083D #3D0810 #2B3D08 #083D34
square
#1A083D #3D0810 #2B3D08 #083D34
split-complementary
#1A083D #3D3408 #103D08
monochromatic
#0C041B #0C041B #1A083D #310F73 #4816A9

Accessibility & contrast

On white

18.32
#1A083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A083D
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A083D#FFFFFF#000000##FFFFFF
##1A083D1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#0E1722
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a083d;
/* rgb */ color: rgb(26, 8, 61);
/* oklch */ color: oklch(20.5% 0.093 291.4);
Tailwind
colors: {
  custom: {
    50: '#5b4a73',
    500: '#1a083d',
    950: '#000000',
  },
}
SCSS
$custom: #1a083d;
$custom-light: #5b4a73;
$custom-dark: #000000;
JSON
{
  "hex": "#1a083d",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 260.377,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20492,
    "c": 0.09336,
    "h": 291.4
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#1A083D
secondary
#5E7C25
accent
#F334B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A083D

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

Preview Lab → · Contrast checker → · Palette generator →

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