#1B0225#1B0225

#1B0225 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.0% C 0.075 H 315.0°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#1B0225
RGBrgb(27, 2, 37)
HSLhsl(283, 90%, 8%)
HSVhsv(283, 95%, 15%)
CMYKcmyk(27%, 94.6%, 0%, 85.5%)
CIE-LABlab(3.70, 17.12, -16.85)
CIE-LCHlch(3.70, 24.02, 315.45°)
OKLaboklab(17% 0.0532 -0.0531)
OKLCHoklch(17% 0.075 315)
XYZxyz(0.8076, 0.4100, 1.7865)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0225 #0C2502
analogous
#090225 #1B0225 #25021D
triadic
#1B0225 #251B02 #02251B
tetradic
#1B0225 #250902 #0C2502 #021D25
square
#1B0225 #250902 #0C2502 #021D25
split-complementary
#1B0225 #1D2502 #022509
monochromatic
#15021D #15021D #1B0225 #45055F #700899

Accessibility & contrast

On white

19.41
#1B0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1B0225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0225
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0225#FFFFFF#000000##FFFFFF
##1B02251.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C26
Deuteranopia (green-blind)
#010E24
Tritanopia (blue-blind)
#1A0812
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1b0225;
/* rgb */ color: rgb(27, 2, 37);
/* oklch */ color: oklch(17.0% 0.075 315.0);
Tailwind
colors: {
  custom: {
    50: '#57475f',
    500: '#1b0225',
    950: '#000000',
  },
}
SCSS
$custom: #1b0225;
$custom-light: #57475f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0225",
  "rgb": {
    "r": 27,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 282.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17,
    "c": 0.07521,
    "h": 315
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#1B0225
secondary
#306A18
accent
#FF2966
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #1B0225

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

Preview Lab → · Contrast checker → · Palette generator →

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