#1B0641#1B0641

#1B0641 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.101 H 291.2°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#1B0641
RGBrgb(27, 6, 65)
HSLhsl(261, 83%, 14%)
HSVhsv(261, 91%, 25%)
CMYKcmyk(58.5%, 90.8%, 0%, 74.5%)
CIE-LABlab(6.73, 26.63, -32.75)
CIE-LCHlch(6.73, 42.21, 309.12°)
OKLaboklab(20.77% 0.0366 -0.0945)
OKLCHoklch(20.77% 0.101 291.2)
XYZxyz(1.4710, 0.7449, 5.0663)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0641 #2C4106
analogous
#060F41 #1B0641 #390641
triadic
#1B0641 #411B06 #06411B
tetradic
#1B0641 #41060F #2C4106 #064139
square
#1B0641 #41060F #2C4106 #064139
split-complementary
#1B0641 #413906 #0F4106
monochromatic
#0C031C #0C031C #1B0641 #320B79 #4A10B1

Accessibility & contrast

On white

18.28
#1B0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1B0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0641
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0641#FFFFFF#000000##FFFFFF
##1B06411.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#0D1724
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b0641;
/* rgb */ color: rgb(27, 6, 65);
/* oklch */ color: oklch(20.8% 0.101 291.2);
Tailwind
colors: {
  custom: {
    50: '#5d4976',
    500: '#1b0641',
    950: '#000000',
  },
}
SCSS
$custom: #1b0641;
$custom-light: #5d4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0641",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 261.356,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20766,
    "c": 0.10132,
    "h": 291.2
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#1B0641
secondary
#5F8122
accent
#F92EB1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1B0641

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

Preview Lab → · Contrast checker → · Palette generator →

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