#1C0948#1C0948

#1C0948 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.107 H 288.0°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#1C0948
RGBrgb(28, 9, 72)
HSLhsl(258, 78%, 16%)
HSVhsv(258, 88%, 28%)
CMYKcmyk(61.1%, 87.5%, 0%, 71.8%)
CIE-LABlab(8.22, 27.54, -35.24)
CIE-LCHlch(8.22, 44.73, 308.00°)
OKLaboklab(22.13% 0.0329 -0.1014)
OKLCHoklch(22.13% 0.107 288)
XYZxyz(1.7459, 0.9100, 6.2133)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0948 #354809
analogous
#091548 #1C0948 #3B0948
triadic
#1C0948 #481C09 #09481C
tetradic
#1C0948 #480915 #354809 #09483B
square
#1C0948 #480915 #354809 #09483B
split-complementary
#1C0948 #483B09 #154809
monochromatic
#0B031B #0B031B #1C0948 #31107E #4617B5

Accessibility & contrast

On white

17.77
#1C0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0948
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0948#FFFFFF#000000##FFFFFF
##1C09481.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#091B28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1c0948;
/* rgb */ color: rgb(28, 9, 72);
/* oklch */ color: oklch(22.1% 0.107 288.0);
Tailwind
colors: {
  custom: {
    50: '#5f4b7c',
    500: '#1c0948',
    950: '#000000',
  },
}
SCSS
$custom: #1c0948;
$custom-light: #5f4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0948",
  "rgb": {
    "r": 28,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 258.095,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22127,
    "c": 0.10663,
    "h": 288
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#1C0948
secondary
#698527
accent
#F434BA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0948

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

Preview Lab → · Contrast checker → · Palette generator →

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