#1C0746#1C0746

#1C0746 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.106 H 289.5°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#1C0746
RGBrgb(28, 7, 70)
HSLhsl(260, 82%, 15%)
HSVhsv(260, 90%, 27%)
CMYKcmyk(60%, 90%, 0%, 72.5%)
CIE-LABlab(7.60, 28.02, -34.86)
CIE-LCHlch(7.60, 44.72, 308.79°)
OKLaboklab(21.62% 0.0354 -0.1003)
OKLCHoklch(21.62% 0.106 289.5)
XYZxyz(1.6600, 0.8410, 5.8680)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0746 #314607
analogous
#071246 #1C0746 #3B0746
triadic
#1C0746 #461C07 #07461C
tetradic
#1C0746 #460712 #314607 #07463B
square
#1C0746 #460712 #314607 #07463B
split-complementary
#1C0746 #463B07 #124607
monochromatic
#0B031C #0B031C #1C0746 #320D7E #4912B5

Accessibility & contrast

On white

17.98
#1C0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0746
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0746#FFFFFF#000000##FFFFFF
##1C07461.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#0B1A27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c0746;
/* rgb */ color: rgb(28, 7, 70);
/* oklch */ color: oklch(21.6% 0.106 289.5);
Tailwind
colors: {
  custom: {
    50: '#5f4a7a',
    500: '#1c0746',
    950: '#000000',
  },
}
SCSS
$custom: #1c0746;
$custom-light: #5f4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0746",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 260,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2162,
    "c": 0.10639,
    "h": 289.5
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#1C0746
secondary
#658524
accent
#F830B5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0746

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

Preview Lab → · Contrast checker → · Palette generator →

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