#1B062B#1B062B

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

Color values

HEX#1B062B
RGBrgb(27, 6, 43)
HSLhsl(274, 76%, 10%)
HSVhsv(274, 86%, 17%)
CMYKcmyk(37.2%, 86%, 0%, 83.1%)
CIE-LABlab(4.86, 17.92, -19.63)
CIE-LCHlch(4.86, 26.58, 312.39°)
OKLaboklab(18.42% 0.0437 -0.0583)
OKLCHoklch(18.42% 0.073 306.8)
XYZxyz(0.9531, 0.5377, 2.3386)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B062B #162B06
analogous
#09062B #1B062B #2B0629
triadic
#1B062B #2B1B06 #062B1B
tetradic
#1B062B #2B0906 #162B06 #06292B
square
#1B062B #2B0906 #162B06 #06292B
split-complementary
#1B062B #292B06 #062B09
monochromatic
#11041B #11041B #1B062B #3D0D61 #5E1596

Accessibility & contrast

On white

18.96
#1B062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B062B
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B062B#FFFFFF#000000##FFFFFF
##1B062B1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b062b;
/* rgb */ color: rgb(27, 6, 43);
/* oklch */ color: oklch(18.4% 0.073 306.8);
Tailwind
colors: {
  custom: {
    50: '#584964',
    500: '#1b062b',
    950: '#000000',
  },
}
SCSS
$custom: #1b062b;
$custom-light: #584964;
$custom-dark: #000000;
JSON
{
  "hex": "#1b062b",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 274.054,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18416,
    "c": 0.07286,
    "h": 306.8
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#1B062B
secondary
#416C21
accent
#F23687
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1B062B

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

Preview Lab → · Contrast checker → · Palette generator →

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