#1B0130#1B0130

#1B0130 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.090 H 304.8°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#1B0130
RGBrgb(27, 1, 48)
HSLhsl(273, 96%, 10%)
HSVhsv(273, 98%, 19%)
CMYKcmyk(43.8%, 97.9%, 0%, 81.2%)
CIE-LABlab(4.23, 22.23, -24.39)
CIE-LCHlch(4.23, 33.00, 312.35°)
OKLaboklab(17.94% 0.0511 -0.0737)
OKLCHoklch(17.94% 0.09 304.8)
XYZxyz(0.9962, 0.4681, 2.8336)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0130 #163001
analogous
#030130 #1B0130 #30012E
triadic
#1B0130 #301B01 #01301B
tetradic
#1B0130 #300301 #163001 #012E30
square
#1B0130 #300301 #163001 #012E30
split-complementary
#1B0130 #2E3001 #013003
monochromatic
#11011E #11011E #1B0130 #3D026C #5E03A8

Accessibility & contrast

On white

19.20
#1B0130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1B0130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0130
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0130#FFFFFF#000000##FFFFFF
##1B01301.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E31
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#170C18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1b0130;
/* rgb */ color: rgb(27, 1, 48);
/* oklch */ color: oklch(17.9% 0.090 304.8);
Tailwind
colors: {
  custom: {
    50: '#594669',
    500: '#1b0130',
    950: '#000000',
  },
}
SCSS
$custom: #1b0130;
$custom-light: #594669;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0130",
  "rgb": {
    "r": 27,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 273.191,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17936,
    "c": 0.08969,
    "h": 304.8
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#1B0130
secondary
#417617
accent
#FF2989
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0130

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

Preview Lab → · Contrast checker → · Palette generator →

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