#1B0E5C#1B0E5C

#1B0E5C is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.0% C 0.128 H 279.4°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#1B0E5C
RGBrgb(27, 14, 92)
HSLhsl(250, 74%, 21%)
HSVhsv(250, 85%, 36%)
CMYKcmyk(70.7%, 84.8%, 0%, 63.9%)
CIE-LABlab(11.41, 31.34, -43.70)
CIE-LCHlch(11.41, 53.77, 305.64°)
OKLaboklab(25.03% 0.0209 -0.1262)
OKLCHoklch(25.03% 0.128 279.4)
XYZxyz(2.5402, 1.3196, 10.2440)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E5C #4F5C0E
analogous
#0E285C #1B0E5C #420E5C
triadic
#1B0E5C #5C1B0E #0E5C1B
tetradic
#1B0E5C #5C0E28 #4F5C0E #0E5C42
square
#1B0E5C #5C0E28 #4F5C0E #0E5C42
split-complementary
#1B0E5C #5C420E #285C0E
monochromatic
#08041B #0B0627 #1B0E5C #2B1691 #3A1EC6

Accessibility & contrast

On white

16.61
#1B0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1B0E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E5C
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E5C#FFFFFF#000000##FFFFFF
##1B0E5C1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b0e5c;
/* rgb */ color: rgb(27, 14, 92);
/* oklch */ color: oklch(25.0% 0.128 279.4);
Tailwind
colors: {
  custom: {
    50: '#634f8b',
    500: '#1b0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e5c;
$custom-light: #634f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e5c",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 250,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25029,
    "c": 0.1279,
    "h": 279.4
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#1B0E5C
secondary
#859630
accent
#F038D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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