#1C0646#1C0646

#1C0646 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.108 H 289.7°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#1C0646
RGBrgb(28, 6, 70)
HSLhsl(261, 84%, 15%)
HSVhsv(261, 91%, 27%)
CMYKcmyk(60%, 91.4%, 0%, 72.5%)
CIE-LABlab(7.40, 28.58, -35.19)
CIE-LCHlch(7.40, 45.33, 309.09°)
OKLaboklab(21.48% 0.0364 -0.1013)
OKLCHoklch(21.48% 0.108 289.7)
XYZxyz(1.6492, 0.8192, 5.8644)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0646 #304606
analogous
#061046 #1C0646 #3C0646
triadic
#1C0646 #461C06 #06461C
tetradic
#1C0646 #460610 #304606 #06463C
square
#1C0646 #460610 #304606 #06463C
split-complementary
#1C0646 #463C06 #104606
monochromatic
#0B021C #0B021C #1C0646 #330B7E #4910B7

Accessibility & contrast

On white

18.04
#1C0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1C0646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0646
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0646#FFFFFF#000000##FFFFFF
##1C06461.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#0B1927
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1c0646;
/* rgb */ color: rgb(28, 6, 70);
/* oklch */ color: oklch(21.5% 0.108 289.7);
Tailwind
colors: {
  custom: {
    50: '#5f497a',
    500: '#1c0646',
    950: '#000000',
  },
}
SCSS
$custom: #1c0646;
$custom-light: #5f497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0646",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 260.625,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21479,
    "c": 0.10761,
    "h": 289.7
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#1C0646
secondary
#638522
accent
#FA2DB4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0646

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

Preview Lab → · Contrast checker → · Palette generator →

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