#1A083C#1A083C

#1A083C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.092 H 292.0°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#1A083C
RGBrgb(26, 8, 60)
HSLhsl(261, 76%, 13%)
HSVhsv(261, 87%, 24%)
CMYKcmyk(56.7%, 86.7%, 0%, 76.5%)
CIE-LABlab(6.50, 23.45, -29.54)
CIE-LCHlch(6.50, 37.72, 308.45°)
OKLaboklab(20.38% 0.0344 -0.0853)
OKLCHoklch(20.38% 0.092 292)
XYZxyz(1.3282, 0.7195, 4.3430)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A083C #2A3C08
analogous
#08103C #1A083C #34083C
triadic
#1A083C #3C1A08 #083C1A
tetradic
#1A083C #3C0810 #2A3C08 #083C34
square
#1A083C #3C0810 #2A3C08 #083C34
split-complementary
#1A083C #3C3408 #103C08
monochromatic
#0C041B #0C041B #1A083C #310F72 #4916A8

Accessibility & contrast

On white

18.36
#1A083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A083C
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A083C#FFFFFF#000000##FFFFFF
##1A083C1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a083c;
/* rgb */ color: rgb(26, 8, 60);
/* oklch */ color: oklch(20.4% 0.092 292.0);
Tailwind
colors: {
  custom: {
    50: '#5b4972',
    500: '#1a083c',
    950: '#000000',
  },
}
SCSS
$custom: #1a083c;
$custom-light: #5b4972;
$custom-dark: #000000;
JSON
{
  "hex": "#1a083c",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 260.769,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20381,
    "c": 0.09201,
    "h": 292
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#1A083C
secondary
#5D7B25
accent
#F335B1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A083C

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

Preview Lab → · Contrast checker → · Palette generator →

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