#1C0A46#1C0A46

#1C0A46 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.103 H 288.6°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#1C0A46
RGBrgb(28, 10, 70)
HSLhsl(258, 75%, 16%)
HSVhsv(258, 86%, 27%)
CMYKcmyk(60%, 85.7%, 0%, 72.5%)
CIE-LABlab(8.18, 26.33, -33.90)
CIE-LCHlch(8.18, 42.92, 307.84°)
OKLaboklab(22.03% 0.0328 -0.0975)
OKLCHoklch(22.03% 0.103 288.6)
XYZxyz(1.6926, 0.9061, 5.8789)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0A46 #34460A
analogous
#0A1646 #1C0A46 #3A0A46
triadic
#1C0A46 #461C0A #0A461C
tetradic
#1C0A46 #460A16 #34460A #0A463A
square
#1C0A46 #460A16 #34460A #0A463A
split-complementary
#1C0A46 #463A0A #16460A
monochromatic
#0B041B #0B041B #1C0A46 #31127C #4719B1

Accessibility & contrast

On white

17.78
#1C0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0A46
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0A46#FFFFFF#000000##FFFFFF
##1C0A461.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0a46;
/* rgb */ color: rgb(28, 10, 70);
/* oklch */ color: oklch(22.0% 0.103 288.6);
Tailwind
colors: {
  custom: {
    50: '#5e4b7a',
    500: '#1c0a46',
    950: '#000000',
  },
}
SCSS
$custom: #1c0a46;
$custom-light: #5e4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0a46",
  "rgb": {
    "r": 28,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 258,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22033,
    "c": 0.10285,
    "h": 288.6
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#1C0A46
secondary
#688329
accent
#F236B9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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