#1C0A42#1C0A42

#1C0A42 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.097 H 290.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#1C0A42
RGBrgb(28, 10, 66)
HSLhsl(259, 74%, 15%)
HSVhsv(259, 85%, 26%)
CMYKcmyk(57.6%, 84.8%, 0%, 74.1%)
CIE-LABlab(7.74, 25.01, -31.79)
CIE-LCHlch(7.74, 40.45, 308.19°)
OKLaboklab(21.59% 0.0341 -0.0913)
OKLCHoklch(21.59% 0.097 290.4)
XYZxyz(1.5705, 0.8572, 5.2359)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0A42 #30420A
analogous
#0A1442 #1C0A42 #380A42
triadic
#1C0A42 #421C0A #0A421C
tetradic
#1C0A42 #420A14 #30420A #0A4238
square
#1C0A42 #420A14 #30420A #0A4238
split-complementary
#1C0A42 #42380A #14420A
monochromatic
#0B041B #0B041B #1C0A42 #331277 #491AAC

Accessibility & contrast

On white

17.93
#1C0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1C0A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0A42
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0A42#FFFFFF#000000##FFFFFF
##1C0A421.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#0F1925
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c0a42;
/* rgb */ color: rgb(28, 10, 66);
/* oklch */ color: oklch(21.6% 0.097 290.4);
Tailwind
colors: {
  custom: {
    50: '#5d4b77',
    500: '#1c0a42',
    950: '#000000',
  },
}
SCSS
$custom: #1c0a42;
$custom-light: #5d4b77;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0a42",
  "rgb": {
    "r": 28,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 259.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21589,
    "c": 0.09749,
    "h": 290.4
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#1C0A42
secondary
#637F29
accent
#F037B5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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