#1B0634#1B0634

#1B0634 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.085 H 299.2°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#1B0634
RGBrgb(27, 6, 52)
HSLhsl(267, 79%, 11%)
HSVhsv(267, 88%, 20%)
CMYKcmyk(48.1%, 88.5%, 0%, 79.6%)
CIE-LABlab(5.52, 21.58, -25.29)
CIE-LCHlch(5.52, 33.25, 310.48°)
OKLaboklab(19.32% 0.0413 -0.0738)
OKLCHoklch(19.32% 0.085 299.2)
XYZxyz(1.1368, 0.6112, 3.3062)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0634 #1F3406
analogous
#060834 #1B0634 #320634
triadic
#1B0634 #341B06 #06341B
tetradic
#1B0634 #340608 #1F3406 #063432
square
#1B0634 #340608 #1F3406 #063432
split-complementary
#1B0634 #343206 #083406
monochromatic
#0E031B #0E031B #1B0634 #370C6B #5413A2

Accessibility & contrast

On white

18.71
#1B0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0634
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0634#FFFFFF#000000##FFFFFF
##1B06341.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001233
Tritanopia (blue-blind)
#15121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0634;
/* rgb */ color: rgb(27, 6, 52);
/* oklch */ color: oklch(19.3% 0.085 299.2);
Tailwind
colors: {
  custom: {
    50: '#5a486c',
    500: '#1b0634',
    950: '#000000',
  },
}
SCSS
$custom: #1b0634;
$custom-light: #5a486c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0634",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 267.391,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19319,
    "c": 0.08462,
    "h": 299.2
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#1B0634
secondary
#4F7421
accent
#F6329C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1B0634

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

Preview Lab → · Contrast checker → · Palette generator →

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