#1B0732#1B0732

#1B0732 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.080 H 300.3°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#1B0732
RGBrgb(27, 7, 50)
HSLhsl(268, 75%, 11%)
HSVhsv(268, 86%, 20%)
CMYKcmyk(46%, 86%, 0%, 80.4%)
CIE-LABlab(5.56, 20.30, -23.76)
CIE-LCHlch(5.56, 31.25, 310.52°)
OKLaboklab(19.29% 0.0405 -0.0693)
OKLCHoklch(19.29% 0.08 300.3)
XYZxyz(1.1036, 0.6152, 3.0776)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0732 #1E3207
analogous
#070832 #1B0732 #300732
triadic
#1B0732 #321B07 #07321B
tetradic
#1B0732 #320708 #1E3207 #073230
square
#1B0732 #320708 #1E3207 #073230
split-complementary
#1B0732 #323007 #083207
monochromatic
#0E041B #0E041B #1B0732 #380F68 #55169D

Accessibility & contrast

On white

18.70
#1B0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B0732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0732
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0732#FFFFFF#000000##FFFFFF
##1B07321.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#16121B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0732;
/* rgb */ color: rgb(27, 7, 50);
/* oklch */ color: oklch(19.3% 0.080 300.3);
Tailwind
colors: {
  custom: {
    50: '#5a496a',
    500: '#1b0732',
    950: '#000000',
  },
}
SCSS
$custom: #1b0732;
$custom-light: #5a496a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0732",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 267.907,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19289,
    "c": 0.08023,
    "h": 300.3
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#1B0732
secondary
#4D7223
accent
#F2369A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1B0732

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

Preview Lab → · Contrast checker → · Palette generator →

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