#1C0A45#1C0A45

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

Color values

HEX#1C0A45
RGBrgb(28, 10, 69)
HSLhsl(258, 75%, 15%)
HSVhsv(258, 86%, 27%)
CMYKcmyk(59.4%, 85.5%, 0%, 72.9%)
CIE-LABlab(8.07, 26.00, -33.38)
CIE-LCHlch(8.07, 42.31, 307.92°)
OKLaboklab(21.92% 0.0331 -0.096)
OKLCHoklch(21.92% 0.102 289)
XYZxyz(1.6613, 0.8936, 5.7140)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0A45 #33450A
analogous
#0A1545 #1C0A45 #390A45
triadic
#1C0A45 #451C0A #0A451C
tetradic
#1C0A45 #450A15 #33450A #0A4539
square
#1C0A45 #450A15 #33450A #0A4539
split-complementary
#1C0A45 #45390A #15450A
monochromatic
#0B041B #0B041B #1C0A45 #32127A #4719B0

Accessibility & contrast

On white

17.81
#1C0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0A45
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0A45#FFFFFF#000000##FFFFFF
##1C0A451.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#0C1B27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1c0a45;
/* rgb */ color: rgb(28, 10, 69);
/* oklch */ color: oklch(21.9% 0.102 289.0);
Tailwind
colors: {
  custom: {
    50: '#5e4b79',
    500: '#1c0a45',
    950: '#000000',
  },
}
SCSS
$custom: #1c0a45;
$custom-light: #5e4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0a45",
  "rgb": {
    "r": 28,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 258.305,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21921,
    "c": 0.10151,
    "h": 289
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#1C0A45
secondary
#678229
accent
#F136B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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