#1B0835#1B0835

#1B0835 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.083 H 297.6°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#1B0835
RGBrgb(27, 8, 53)
HSLhsl(265, 74%, 12%)
HSVhsv(265, 85%, 21%)
CMYKcmyk(49.1%, 84.9%, 0%, 79.2%)
CIE-LABlab(6.00, 21.01, -25.26)
CIE-LCHlch(6.00, 32.86, 309.75°)
OKLaboklab(19.77% 0.0383 -0.0732)
OKLCHoklch(19.77% 0.083 297.6)
XYZxyz(1.1813, 0.6637, 3.4333)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0835 #223508
analogous
#080C35 #1B0835 #320835
triadic
#1B0835 #351B08 #08351B
tetradic
#1B0835 #35080C #223508 #083532
square
#1B0835 #35080C #223508 #083532
split-complementary
#1B0835 #353208 #0C3508
monochromatic
#0E041B #0E041B #1B0835 #36106A #51189F

Accessibility & contrast

On white

18.54
#1B0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1B0835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0835
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0835#FFFFFF#000000##FFFFFF
##1B08351.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#14131D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b0835;
/* rgb */ color: rgb(27, 8, 53);
/* oklch */ color: oklch(19.8% 0.083 297.6);
Tailwind
colors: {
  custom: {
    50: '#5a496d',
    500: '#1b0835',
    950: '#000000',
  },
}
SCSS
$custom: #1b0835;
$custom-light: #5a496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0835",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 265.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19768,
    "c": 0.0826,
    "h": 297.6
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#1B0835
secondary
#537425
accent
#F037A2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1B0835

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

Preview Lab → · Contrast checker → · Palette generator →

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