#1B0649#1B0649

#1B0649 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.111 H 287.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#1B0649
RGBrgb(27, 6, 73)
HSLhsl(259, 85%, 15%)
HSVhsv(259, 92%, 29%)
CMYKcmyk(63%, 91.8%, 0%, 71.4%)
CIE-LABlab(7.63, 29.42, -36.92)
CIE-LCHlch(7.63, 47.21, 308.55°)
OKLaboklab(21.72% 0.0332 -0.1063)
OKLCHoklch(21.72% 0.111 287.3)
XYZxyz(1.7194, 0.8442, 6.3744)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0649 #344906
analogous
#061249 #1B0649 #3C0649
triadic
#1B0649 #491B06 #06491B
tetradic
#1B0649 #490612 #344906 #06493C
square
#1B0649 #490612 #344906 #06493C
split-complementary
#1B0649 #493C06 #124906
monochromatic
#0A021C #0A021C #1B0649 #300B82 #450FBA

Accessibility & contrast

On white

17.97
#1B0649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0649
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0649#FFFFFF#000000##FFFFFF
##1B06491.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#061B28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0649;
/* rgb */ color: rgb(27, 6, 73);
/* oklch */ color: oklch(21.7% 0.111 287.3);
Tailwind
colors: {
  custom: {
    50: '#5f497d',
    500: '#1b0649',
    950: '#000000',
  },
}
SCSS
$custom: #1b0649;
$custom-light: #5f497d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0649",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 73
  },
  "hsl": {
    "h": 258.806,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21719,
    "c": 0.11142,
    "h": 287.3
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#1B0649
secondary
#688823
accent
#FB2DBA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0649

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

Preview Lab → · Contrast checker → · Palette generator →

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