#1B062E#1B062E

#1B062E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.077 H 304.1°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#1B062E
RGBrgb(27, 6, 46)
HSLhsl(272, 77%, 10%)
HSVhsv(272, 87%, 18%)
CMYKcmyk(41.3%, 87%, 0%, 82%)
CIE-LABlab(5.06, 19.14, -21.57)
CIE-LCHlch(5.06, 28.83, 311.59°)
OKLaboklab(18.71% 0.043 -0.0636)
OKLCHoklch(18.71% 0.077 304.1)
XYZxyz(1.0101, 0.5605, 2.6392)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B062E #192E06
analogous
#07062E #1B062E #2E062D
triadic
#1B062E #2E1B06 #062E1B
tetradic
#1B062E #2E0706 #192E06 #062D2E
square
#1B062E #2E0706 #192E06 #062D2E
split-complementary
#1B062E #2D2E06 #062E07
monochromatic
#10041B #10041B #1B062E #3B0D64 #5B149A

Accessibility & contrast

On white

18.88
#1B062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B062E
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B062E#FFFFFF#000000##FFFFFF
##1B062E1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#170F19
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1b062e;
/* rgb */ color: rgb(27, 6, 46);
/* oklch */ color: oklch(18.7% 0.077 304.1);
Tailwind
colors: {
  custom: {
    50: '#594967',
    500: '#1b062e',
    950: '#000000',
  },
}
SCSS
$custom: #1b062e;
$custom-light: #594967;
$custom-dark: #000000;
JSON
{
  "hex": "#1b062e",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 271.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18707,
    "c": 0.0768,
    "h": 304.1
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#1B062E
secondary
#466F21
accent
#F3348F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1B062E

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

Preview Lab → · Contrast checker → · Palette generator →

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