#1C0636#1C0636

#1C0636 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.7% C 0.087 H 299.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#1C0636
RGBrgb(28, 6, 54)
HSLhsl(268, 80%, 12%)
HSVhsv(268, 89%, 21%)
CMYKcmyk(48.1%, 88.9%, 0%, 78.8%)
CIE-LABlab(5.81, 22.72, -26.28)
CIE-LCHlch(5.81, 34.74, 310.84°)
OKLaboklab(19.68% 0.0425 -0.0763)
OKLCHoklch(19.68% 0.087 299.1)
XYZxyz(1.2097, 0.6435, 3.5498)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0636 #203606
analogous
#060836 #1C0636 #340636
triadic
#1C0636 #361C06 #06361C
tetradic
#1C0636 #360608 #203606 #063634
square
#1C0636 #360608 #203606 #063634
split-complementary
#1C0636 #363406 #083606
monochromatic
#0E031C #0E031C #1C0636 #390C6D #5512A4

Accessibility & contrast

On white

18.61
#1C0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1C0636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0636
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0636#FFFFFF#000000##FFFFFF
##1C06361.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#16121D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1c0636;
/* rgb */ color: rgb(28, 6, 54);
/* oklch */ color: oklch(19.7% 0.087 299.1);
Tailwind
colors: {
  custom: {
    50: '#5b486d',
    500: '#1c0636',
    950: '#000000',
  },
}
SCSS
$custom: #1c0636;
$custom-light: #5b486d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0636",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 267.5,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19676,
    "c": 0.08737,
    "h": 299.1
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#1C0636
secondary
#4F7621
accent
#F6319C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0636

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

Preview Lab → · Contrast checker → · Palette generator →

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