#1C0638#1C0638

#1C0638 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.090 H 297.7°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#1C0638
RGBrgb(28, 6, 56)
HSLhsl(266, 81%, 12%)
HSVhsv(266, 89%, 22%)
CMYKcmyk(50%, 89.3%, 0%, 78%)
CIE-LABlab(5.99, 23.50, -27.47)
CIE-LCHlch(5.99, 36.15, 310.55°)
OKLaboklab(19.89% 0.0419 -0.0796)
OKLCHoklch(19.89% 0.09 297.7)
XYZxyz(1.2576, 0.6626, 3.8023)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0638 #223806
analogous
#060938 #1C0638 #350638
triadic
#1C0638 #381C06 #06381C
tetradic
#1C0638 #380609 #223806 #063835
square
#1C0638 #380609 #223806 #063835
split-complementary
#1C0638 #383506 #093806
monochromatic
#0E031C #0E031C #1C0638 #380C6F #5312A7

Accessibility & contrast

On white

18.54
#1C0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0638
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0638#FFFFFF#000000##FFFFFF
##1C06381.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0638;
/* rgb */ color: rgb(28, 6, 56);
/* oklch */ color: oklch(19.9% 0.090 297.7);
Tailwind
colors: {
  custom: {
    50: '#5c486f',
    500: '#1c0638',
    950: '#000000',
  },
}
SCSS
$custom: #1c0638;
$custom-light: #5c486f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0638",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 266.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.1989,
    "c": 0.08993,
    "h": 297.7
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#1C0638
secondary
#527821
accent
#F731A0
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0638

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

Preview Lab → · Contrast checker → · Palette generator →

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