#1C0946#1C0946

#1C0946 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.104 H 288.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#1C0946
RGBrgb(28, 9, 70)
HSLhsl(259, 77%, 15%)
HSVhsv(259, 87%, 27%)
CMYKcmyk(60%, 87.1%, 0%, 72.5%)
CIE-LABlab(7.99, 26.89, -34.22)
CIE-LCHlch(7.99, 43.52, 308.16°)
OKLaboklab(21.9% 0.0336 -0.0984)
OKLCHoklch(21.9% 0.104 288.9)
XYZxyz(1.6817, 0.8844, 5.8752)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0946 #334609
analogous
#091446 #1C0946 #3A0946
triadic
#1C0946 #461C09 #09461C
tetradic
#1C0946 #460914 #334609 #09463A
square
#1C0946 #460914 #334609 #09463A
split-complementary
#1C0946 #463A09 #144609
monochromatic
#0B031B #0B031B #1C0946 #32107C #4717B2

Accessibility & contrast

On white

17.85
#1C0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1C0946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0946
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0946#FFFFFF#000000##FFFFFF
##1C09461.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#0B1B27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c0946;
/* rgb */ color: rgb(28, 9, 70);
/* oklch */ color: oklch(21.9% 0.104 288.9);
Tailwind
colors: {
  custom: {
    50: '#5e4b7a',
    500: '#1c0946',
    950: '#000000',
  },
}
SCSS
$custom: #1c0946;
$custom-light: #5e4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0946",
  "rgb": {
    "r": 28,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 258.689,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21897,
    "c": 0.10401,
    "h": 288.9
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#1C0946
secondary
#678427
accent
#F434B8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0946

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

Preview Lab → · Contrast checker → · Palette generator →

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