#1B0735#1B0735

#1B0735 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.084 H 298.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#1B0735
RGBrgb(27, 7, 53)
HSLhsl(266, 77%, 12%)
HSVhsv(266, 87%, 21%)
CMYKcmyk(49.1%, 86.8%, 0%, 79.2%)
CIE-LABlab(5.80, 21.50, -25.58)
CIE-LCHlch(5.80, 33.41, 310.05°)
OKLaboklab(19.6% 0.0396 -0.0743)
OKLCHoklch(19.6% 0.084 298.1)
XYZxyz(1.1704, 0.6420, 3.4297)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0735 #213507
analogous
#070A35 #1B0735 #320735
triadic
#1B0735 #351B07 #07351B
tetradic
#1B0735 #35070A #213507 #073532
square
#1B0735 #35070A #213507 #073532
split-complementary
#1B0735 #353207 #0A3507
monochromatic
#0E041B #0E041B #1B0735 #370E6B #5215A1

Accessibility & contrast

On white

18.61
#1B0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0735
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0735#FFFFFF#000000##FFFFFF
##1B07351.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0735;
/* rgb */ color: rgb(27, 7, 53);
/* oklch */ color: oklch(19.6% 0.084 298.1);
Tailwind
colors: {
  custom: {
    50: '#5a496d',
    500: '#1b0735',
    950: '#000000',
  },
}
SCSS
$custom: #1b0735;
$custom-light: #5a496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0735",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 266.087,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19598,
    "c": 0.08423,
    "h": 298.1
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#1B0735
secondary
#517523
accent
#F335A0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1B0735

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

Preview Lab → · Contrast checker → · Palette generator →

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