#1C0B49#1C0B49

#1C0B49 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.106 H 287.0°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#1C0B49
RGBrgb(28, 11, 73)
HSLhsl(256, 74%, 16%)
HSVhsv(256, 85%, 29%)
CMYKcmyk(61.6%, 84.9%, 0%, 71.4%)
CIE-LABlab(8.72, 26.76, -35.13)
CIE-LCHlch(8.72, 44.16, 307.31°)
OKLaboklab(22.51% 0.0309 -0.1011)
OKLCHoklch(22.51% 0.106 287)
XYZxyz(1.8008, 0.9672, 6.3938)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0B49 #38490B
analogous
#0B1949 #1C0B49 #3B0B49
triadic
#1C0B49 #491C0B #0B491C
tetradic
#1C0B49 #490B19 #38490B #0B493B
square
#1C0B49 #490B19 #38490B #0B493B
split-complementary
#1C0B49 #493B0B #19490B
monochromatic
#0A041B #0A041B #1C0B49 #30137E #451BB3

Accessibility & contrast

On white

17.60
#1C0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1C0B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0B49
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0B49#FFFFFF#000000##FFFFFF
##1C0B491.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#081D29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1c0b49;
/* rgb */ color: rgb(28, 11, 73);
/* oklch */ color: oklch(22.5% 0.106 287.0);
Tailwind
colors: {
  custom: {
    50: '#5f4c7c',
    500: '#1c0b49',
    950: '#000000',
  },
}
SCSS
$custom: #1c0b49;
$custom-light: #5f4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0b49",
  "rgb": {
    "r": 28,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 256.452,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22508,
    "c": 0.10572,
    "h": 287
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#1C0B49
secondary
#6C852A
accent
#F037BE
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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