#1C0747#1C0747

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

Color values

HEX#1C0747
RGBrgb(28, 7, 71)
HSLhsl(260, 82%, 15%)
HSVhsv(260, 90%, 28%)
CMYKcmyk(60.6%, 90.1%, 0%, 72.2%)
CIE-LABlab(7.71, 28.35, -35.38)
CIE-LCHlch(7.71, 45.33, 308.71°)
OKLaboklab(21.74% 0.035 -0.1018)
OKLCHoklch(21.74% 0.108 289)
XYZxyz(1.6919, 0.8537, 6.0356)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0747 #324707
analogous
#071247 #1C0747 #3C0747
triadic
#1C0747 #471C07 #07471C
tetradic
#1C0747 #470712 #324707 #07473C
square
#1C0747 #470712 #324707 #07473C
split-complementary
#1C0747 #473C07 #124707
monochromatic
#0B031C #0B031C #1C0747 #320C7F #4812B6

Accessibility & contrast

On white

17.94
#1C0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0747
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0747#FFFFFF#000000##FFFFFF
##1C07471.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#0A1A27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c0747;
/* rgb */ color: rgb(28, 7, 71);
/* oklch */ color: oklch(21.7% 0.108 289.0);
Tailwind
colors: {
  custom: {
    50: '#5f4a7b',
    500: '#1c0747',
    950: '#000000',
  },
}
SCSS
$custom: #1c0747;
$custom-light: #5f4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0747",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 259.688,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21738,
    "c": 0.10766,
    "h": 289
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#1C0747
secondary
#668624
accent
#F82FB6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0747

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

Preview Lab → · Contrast checker → · Palette generator →

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