#1C0637#1C0637

#1C0637 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.089 H 298.4°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1C0637
RGBrgb(28, 6, 55)
HSLhsl(267, 80%, 12%)
HSVhsv(267, 89%, 22%)
CMYKcmyk(49.1%, 89.1%, 0%, 78.4%)
CIE-LABlab(5.90, 23.11, -26.88)
CIE-LCHlch(5.90, 35.45, 310.69°)
OKLaboklab(19.78% 0.0422 -0.078)
OKLCHoklch(19.78% 0.089 298.4)
XYZxyz(1.2334, 0.6529, 3.6747)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0637 #213706
analogous
#060837 #1C0637 #350637
triadic
#1C0637 #371C06 #06371C
tetradic
#1C0637 #370608 #213706 #063735
square
#1C0637 #370608 #213706 #063735
split-complementary
#1C0637 #373506 #083706
monochromatic
#0E031C #0E031C #1C0637 #380C6E #5412A5

Accessibility & contrast

On white

18.57
#1C0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0637
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0637#FFFFFF#000000##FFFFFF
##1C06371.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#15131E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1c0637;
/* rgb */ color: rgb(28, 6, 55);
/* oklch */ color: oklch(19.8% 0.089 298.4);
Tailwind
colors: {
  custom: {
    50: '#5b486e',
    500: '#1c0637',
    950: '#000000',
  },
}
SCSS
$custom: #1c0637;
$custom-light: #5b486e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0637",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 266.939,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19782,
    "c": 0.08865,
    "h": 298.4
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#1C0637
secondary
#517721
accent
#F7319E
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0637

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

Preview Lab → · Contrast checker → · Palette generator →

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