#1B0633#1B0633

#1B0633 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.083 H 300.0°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#1B0633
RGBrgb(27, 6, 51)
HSLhsl(268, 79%, 11%)
HSVhsv(268, 88%, 20%)
CMYKcmyk(47.1%, 88.2%, 0%, 80%)
CIE-LABlab(5.44, 21.18, -24.68)
CIE-LCHlch(5.44, 32.52, 310.63°)
OKLaboklab(19.22% 0.0417 -0.0722)
OKLCHoklch(19.22% 0.083 300)
XYZxyz(1.1145, 0.6023, 3.1889)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0633 #1E3306
analogous
#060733 #1B0633 #310633
triadic
#1B0633 #331B06 #06331B
tetradic
#1B0633 #330607 #1E3306 #063331
square
#1B0633 #330607 #1E3306 #063331
split-complementary
#1B0633 #333106 #073306
monochromatic
#0E031B #0E031B #1B0633 #380C6A #5513A1

Accessibility & contrast

On white

18.74
#1B0633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B0633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0633
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0633#FFFFFF#000000##FFFFFF
##1B06331.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#15111C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0633;
/* rgb */ color: rgb(27, 6, 51);
/* oklch */ color: oklch(19.2% 0.083 300.0);
Tailwind
colors: {
  custom: {
    50: '#5a486b',
    500: '#1b0633',
    950: '#000000',
  },
}
SCSS
$custom: #1b0633;
$custom-light: #5a486b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0633",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 268,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19215,
    "c": 0.08333,
    "h": 300
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#1B0633
secondary
#4D7421
accent
#F5329A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0633

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

Preview Lab → · Contrast checker → · Palette generator →

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