#1B0647#1B0647

#1B0647 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.109 H 288.2°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#1B0647
RGBrgb(27, 6, 71)
HSLhsl(259, 84%, 15%)
HSVhsv(259, 92%, 28%)
CMYKcmyk(62%, 91.5%, 0%, 72.2%)
CIE-LABlab(7.39, 28.75, -35.91)
CIE-LCHlch(7.39, 46.00, 308.68°)
OKLaboklab(21.48% 0.0341 -0.1034)
OKLCHoklch(21.48% 0.109 288.2)
XYZxyz(1.6541, 0.8181, 6.0308)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0647 #324706
analogous
#061147 #1B0647 #3C0647
triadic
#1B0647 #471B06 #06471B
tetradic
#1B0647 #470611 #324706 #06473C
square
#1B0647 #470611 #324706 #06473C
split-complementary
#1B0647 #473C06 #114706
monochromatic
#0B021C #0B021C #1B0647 #300B7F #4610B8

Accessibility & contrast

On white

18.05
#1B0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1B0647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0647
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0647#FFFFFF#000000##FFFFFF
##1B06471.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#081A27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b0647;
/* rgb */ color: rgb(27, 6, 71);
/* oklch */ color: oklch(21.5% 0.109 288.2);
Tailwind
colors: {
  custom: {
    50: '#5e497b',
    500: '#1b0647',
    950: '#000000',
  },
}
SCSS
$custom: #1b0647;
$custom-light: #5e497b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0647",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 259.385,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21477,
    "c": 0.10891,
    "h": 288.2
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#1B0647
secondary
#668623
accent
#FB2DB8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0647

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

Preview Lab → · Contrast checker → · Palette generator →

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