#1B0648#1B0648

#1B0648 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.110 H 287.8°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#1B0648
RGBrgb(27, 6, 72)
HSLhsl(259, 85%, 15%)
HSVhsv(259, 92%, 28%)
CMYKcmyk(62.5%, 91.7%, 0%, 71.8%)
CIE-LABlab(7.51, 29.09, -36.42)
CIE-LCHlch(7.51, 46.61, 308.62°)
OKLaboklab(21.6% 0.0337 -0.1049)
OKLCHoklch(21.6% 0.11 287.8)
XYZxyz(1.6865, 0.8310, 6.2012)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0648 #334806
analogous
#061248 #1B0648 #3C0648
triadic
#1B0648 #481B06 #06481B
tetradic
#1B0648 #480612 #334806 #06483C
square
#1B0648 #480612 #334806 #06483C
split-complementary
#1B0648 #483C06 #124806
monochromatic
#0B021C #0B021C #1B0648 #300B80 #450FB9

Accessibility & contrast

On white

18.01
#1B0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1B0648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0648
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0648#FFFFFF#000000##FFFFFF
##1B06481.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#071A28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0648;
/* rgb */ color: rgb(27, 6, 72);
/* oklch */ color: oklch(21.6% 0.110 287.8);
Tailwind
colors: {
  custom: {
    50: '#5f497c',
    500: '#1b0648',
    950: '#000000',
  },
}
SCSS
$custom: #1b0648;
$custom-light: #5f497c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0648",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 259.091,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21598,
    "c": 0.11017,
    "h": 287.8
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#1B0648
secondary
#678723
accent
#FB2DB9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0648

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

Preview Lab → · Contrast checker → · Palette generator →

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