#1B0A35#1B0A35

#1B0A35 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.079 H 296.7°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#1B0A35
RGBrgb(27, 10, 53)
HSLhsl(264, 68%, 12%)
HSVhsv(264, 81%, 21%)
CMYKcmyk(49.1%, 81.1%, 0%, 79.2%)
CIE-LABlab(6.39, 20.03, -24.63)
CIE-LCHlch(6.39, 31.75, 309.11°)
OKLaboklab(20.1% 0.0357 -0.071)
OKLCHoklch(20.1% 0.079 296.7)
XYZxyz(1.2030, 0.7071, 3.4406)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A35 #24350A
analogous
#0A0F35 #1B0A35 #310A35
triadic
#1B0A35 #351B0A #0A351B
tetradic
#1B0A35 #350A0F #24350A #0A3531
square
#1B0A35 #350A0F #24350A #0A3531
split-complementary
#1B0A35 #35310A #0F350A
monochromatic
#0D051A #0D051A #1B0A35 #351468 #4F1D9C

Accessibility & contrast

On white

18.40
#1B0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1B0A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0A35
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A35#FFFFFF#000000##FFFFFF
##1B0A351.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#14141E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b0a35;
/* rgb */ color: rgb(27, 10, 53);
/* oklch */ color: oklch(20.1% 0.079 296.7);
Tailwind
colors: {
  custom: {
    50: '#5a4a6d',
    500: '#1b0a35',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a35;
$custom-light: #5a4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a35",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 263.721,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20099,
    "c": 0.07943,
    "h": 296.7
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#1B0A35
secondary
#557228
accent
#EB3DA6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1B0A35

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

Preview Lab → · Contrast checker → · Palette generator →

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