#1A103C#1A103C

#1A103C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.080 H 288.3°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#1A103C
RGBrgb(26, 16, 60)
HSLhsl(254, 58%, 15%)
HSVhsv(254, 73%, 24%)
CMYKcmyk(56.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(8.27, 18.71, -26.65)
CIE-LCHlch(8.27, 32.56, 305.06°)
OKLaboklab(21.72% 0.0252 -0.0763)
OKLCHoklch(21.72% 0.08 288.3)
XYZxyz(1.4267, 0.9164, 4.3758)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A103C #323C10
analogous
#101C3C #1A103C #30103C
triadic
#1A103C #3C1A10 #103C1A
tetradic
#1A103C #3C101C #323C10 #103C30
square
#1A103C #3C101C #323C10 #103C30
split-complementary
#1A103C #3C3010 #1C3C10
monochromatic
#0A0618 #0A0618 #1A103C #2F1D6C #442A9D

Accessibility & contrast

On white

17.75
#1A103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1A103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A103C
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A103C#FFFFFF#000000##FFFFFF
##1A103C1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#0E1B24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a103c;
/* rgb */ color: rgb(26, 16, 60);
/* oklch */ color: oklch(21.7% 0.080 288.3);
Tailwind
colors: {
  custom: {
    50: '#5a4e72',
    500: '#1a103c',
    950: '#000000',
  },
}
SCSS
$custom: #1a103c;
$custom-light: #5a4e72;
$custom-dark: #000000;
JSON
{
  "hex": "#1a103c",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 253.636,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21724,
    "c": 0.08041,
    "h": 288.3
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#1A103C
secondary
#667632
accent
#E147BE
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1A103C

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

Preview Lab → · Contrast checker → · Palette generator →

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