#1B0330#1B0330

#1B0330 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.085 H 303.8°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#1B0330
RGBrgb(27, 3, 48)
HSLhsl(272, 88%, 10%)
HSVhsv(272, 94%, 19%)
CMYKcmyk(43.8%, 93.8%, 0%, 81.2%)
CIE-LABlab(4.62, 21.33, -23.77)
CIE-LCHlch(4.62, 31.93, 311.91°)
OKLaboklab(18.34% 0.0475 -0.0709)
OKLCHoklch(18.34% 0.085 303.8)
XYZxyz(1.0179, 0.5115, 2.8408)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0330 #183003
analogous
#050330 #1B0330 #30032E
triadic
#1B0330 #301B03 #03301B
tetradic
#1B0330 #300503 #183003 #032E30
square
#1B0330 #300503 #183003 #032E30
split-complementary
#1B0330 #2E3003 #033005
monochromatic
#10021D #10021D #1B0330 #3B076A #5C0AA3

Accessibility & contrast

On white

19.05
#1B0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1B0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0330
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0330#FFFFFF#000000##FFFFFF
##1B03301.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#170E19
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1b0330;
/* rgb */ color: rgb(27, 3, 48);
/* oklch */ color: oklch(18.3% 0.085 303.8);
Tailwind
colors: {
  custom: {
    50: '#594769',
    500: '#1b0330',
    950: '#000000',
  },
}
SCSS
$custom: #1b0330;
$custom-light: #594769;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0330",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 272,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.18337,
    "c": 0.08537,
    "h": 303.8
  },
  "luminance": 0.00512
}

Semantic roles & 50–950 ramp

primary
#1B0330
secondary
#44731B
accent
#FE298D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0330

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

Preview Lab → · Contrast checker → · Palette generator →

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