#1A062B#1A062B

#1A062B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.073 H 305.3°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#1A062B
RGBrgb(26, 6, 43)
HSLhsl(272, 76%, 10%)
HSVhsv(272, 86%, 17%)
CMYKcmyk(39.5%, 86%, 0%, 83.1%)
CIE-LABlab(4.74, 17.45, -19.83)
CIE-LCHlch(4.74, 26.42, 311.35°)
OKLaboklab(18.26% 0.0419 -0.0592)
OKLCHoklch(18.26% 0.073 305.3)
XYZxyz(0.9271, 0.5243, 2.3374)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A062B #172B06
analogous
#07062B #1A062B #2B062A
triadic
#1A062B #2B1A06 #062B1A
tetradic
#1A062B #2B0706 #172B06 #062A2B
square
#1A062B #2B0706 #172B06 #062A2B
split-complementary
#1A062B #2A2B06 #062B07
monochromatic
#10041B #10041B #1A062B #3A0D61 #5B1596

Accessibility & contrast

On white

19.01
#1A062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1A062B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A062B
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A062B#FFFFFF#000000##FFFFFF
##1A062B1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#170E17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a062b;
/* rgb */ color: rgb(26, 6, 43);
/* oklch */ color: oklch(18.3% 0.073 305.3);
Tailwind
colors: {
  custom: {
    50: '#574964',
    500: '#1a062b',
    950: '#000000',
  },
}
SCSS
$custom: #1a062b;
$custom-light: #574964;
$custom-dark: #000000;
JSON
{
  "hex": "#1a062b",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 272.432,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18259,
    "c": 0.07254,
    "h": 305.3
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#1A062B
secondary
#436C21
accent
#F2368C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1A062B

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

Preview Lab → · Contrast checker → · Palette generator →

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