#1C0648#1C0648

#1C0648 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.110 H 288.8°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#1C0648
RGBrgb(28, 6, 72)
HSLhsl(260, 85%, 15%)
HSVhsv(260, 92%, 28%)
CMYKcmyk(61.1%, 91.7%, 0%, 71.8%)
CIE-LABlab(7.63, 29.24, -36.21)
CIE-LCHlch(7.63, 46.54, 308.92°)
OKLaboklab(21.72% 0.0355 -0.1042)
OKLCHoklch(21.72% 0.11 288.8)
XYZxyz(1.7134, 0.8449, 6.2024)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0648 #324806
analogous
#061148 #1C0648 #3D0648
triadic
#1C0648 #481C06 #06481C
tetradic
#1C0648 #480611 #324806 #06483D
square
#1C0648 #480611 #324806 #06483D
split-complementary
#1C0648 #483D06 #114806
monochromatic
#0B021C #0B021C #1C0648 #320B80 #480FB9

Accessibility & contrast

On white

17.96
#1C0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0648
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0648#FFFFFF#000000##FFFFFF
##1C06481.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#091A28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1c0648;
/* rgb */ color: rgb(28, 6, 72);
/* oklch */ color: oklch(21.7% 0.110 288.8);
Tailwind
colors: {
  custom: {
    50: '#5f497c',
    500: '#1c0648',
    950: '#000000',
  },
}
SCSS
$custom: #1c0648;
$custom-light: #5f497c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0648",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 260,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21718,
    "c": 0.1101,
    "h": 288.8
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#1C0648
secondary
#668723
accent
#FB2DB6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1C0648

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

Preview Lab → · Contrast checker → · Palette generator →

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