#1A103F#1A103F

#1A103F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.085 H 287.0°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#1A103F
RGBrgb(26, 16, 63)
HSLhsl(253, 59%, 15%)
HSVhsv(253, 75%, 25%)
CMYKcmyk(58.7%, 74.6%, 0%, 75.3%)
CIE-LABlab(8.56, 19.79, -28.34)
CIE-LCHlch(8.56, 34.56, 304.93°)
OKLaboklab(22.02% 0.0248 -0.0813)
OKLCHoklch(22.02% 0.085 287)
XYZxyz(1.5082, 0.9490, 4.8054)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A103F #353F10
analogous
#101D3F #1A103F #31103F
triadic
#1A103F #3F1A10 #103F1A
tetradic
#1A103F #3F101D #353F10 #103F31
square
#1A103F #3F101D #353F10 #103F31
split-complementary
#1A103F #3F3110 #1D3F10
monochromatic
#0A0618 #0A0618 #1A103F #2E1C70 #4229A1

Accessibility & contrast

On white

17.65
#1A103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1A103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A103F
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A103F#FFFFFF#000000##FFFFFF
##1A103F1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#0C1C25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a103f;
/* rgb */ color: rgb(26, 16, 63);
/* oklch */ color: oklch(22.0% 0.085 287.0);
Tailwind
colors: {
  custom: {
    50: '#5b4e74',
    500: '#1a103f',
    950: '#000000',
  },
}
SCSS
$custom: #1a103f;
$custom-light: #5b4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#1a103f",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 252.766,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22019,
    "c": 0.085,
    "h": 287
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#1A103F
secondary
#6A7932
accent
#E345C1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A103F

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

Preview Lab → · Contrast checker → · Palette generator →

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