#1A052E#1A052E

#1A052E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.079 H 303.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#1A052E
RGBrgb(26, 5, 46)
HSLhsl(271, 80%, 10%)
HSVhsv(271, 89%, 18%)
CMYKcmyk(43.5%, 89.1%, 0%, 82%)
CIE-LABlab(4.75, 19.16, -22.08)
CIE-LCHlch(4.75, 29.23, 310.95°)
OKLaboklab(18.36% 0.0429 -0.0658)
OKLCHoklch(18.36% 0.079 303.1)
XYZxyz(0.9733, 0.5254, 2.6344)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A052E #192E05
analogous
#06052E #1A052E #2E052D
triadic
#1A052E #2E1A05 #052E1A
tetradic
#1A052E #2E0605 #192E05 #052D2E
square
#1A052E #2E0605 #192E05 #052D2E
split-complementary
#1A052E #2D2E05 #052E06
monochromatic
#10031C #10031C #1A052E #390B65 #58119C

Accessibility & contrast

On white

19.00
#1A052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1A052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A052E
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A052E#FFFFFF#000000##FFFFFF
##1A052E1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#160F18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a052e;
/* rgb */ color: rgb(26, 5, 46);
/* oklch */ color: oklch(18.4% 0.079 303.1);
Tailwind
colors: {
  custom: {
    50: '#584867',
    500: '#1a052e',
    950: '#000000',
  },
}
SCSS
$custom: #1a052e;
$custom-light: #584867;
$custom-dark: #000000;
JSON
{
  "hex": "#1a052e",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 270.732,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.1836,
    "c": 0.07853,
    "h": 303.1
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#1A052E
secondary
#46701F
accent
#F73191
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A052E

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

Preview Lab → · Contrast checker → · Palette generator →

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