#1B062D#1B062D

#1B062D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.075 H 304.9°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#1B062D
RGBrgb(27, 6, 45)
HSLhsl(272, 76%, 10%)
HSVhsv(272, 87%, 18%)
CMYKcmyk(40%, 86.7%, 0%, 82.4%)
CIE-LABlab(4.99, 18.74, -20.93)
CIE-LCHlch(4.99, 28.09, 311.84°)
OKLaboklab(18.61% 0.0432 -0.0619)
OKLCHoklch(18.61% 0.075 304.9)
XYZxyz(0.9907, 0.5527, 2.5366)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B062D #182D06
analogous
#08062D #1B062D #2D062B
triadic
#1B062D #2D1B06 #062D1B
tetradic
#1B062D #2D0806 #182D06 #062B2D
square
#1B062D #2D0806 #182D06 #062B2D
split-complementary
#1B062D #2B2D06 #062D08
monochromatic
#10041B #10041B #1B062D #3B0D63 #5C1499

Accessibility & contrast

On white

18.91
#1B062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B062D
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B062D#FFFFFF#000000##FFFFFF
##1B062D1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#180F18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1b062d;
/* rgb */ color: rgb(27, 6, 45);
/* oklch */ color: oklch(18.6% 0.075 304.9);
Tailwind
colors: {
  custom: {
    50: '#594966',
    500: '#1b062d',
    950: '#000000',
  },
}
SCSS
$custom: #1b062d;
$custom-light: #594966;
$custom-dark: #000000;
JSON
{
  "hex": "#1b062d",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 272.308,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.18609,
    "c": 0.07549,
    "h": 304.9
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#1B062D
secondary
#446E21
accent
#F3358D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1B062D

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

Preview Lab → · Contrast checker → · Palette generator →

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