#1C0641#1C0641

#1C0641 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.101 H 292.3°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#1C0641
RGBrgb(28, 6, 65)
HSLhsl(262, 83%, 14%)
HSVhsv(262, 91%, 25%)
CMYKcmyk(56.9%, 90.8%, 0%, 74.5%)
CIE-LABlab(6.85, 26.85, -32.54)
CIE-LCHlch(6.85, 42.19, 309.53°)
OKLaboklab(20.9% 0.0384 -0.0938)
OKLCHoklch(20.9% 0.101 292.3)
XYZxyz(1.4979, 0.7587, 5.0675)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0641 #2B4106
analogous
#060E41 #1C0641 #3A0641
triadic
#1C0641 #411C06 #06411C
tetradic
#1C0641 #41060E #2B4106 #06413A
square
#1C0641 #41060E #2B4106 #06413A
split-complementary
#1C0641 #413A06 #0E4106
monochromatic
#0C031C #0C031C #1C0641 #340B79 #4C10B1

Accessibility & contrast

On white

18.23
#1C0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1C0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0641
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0641#FFFFFF#000000##FFFFFF
##1C06411.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#101724
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1c0641;
/* rgb */ color: rgb(28, 6, 65);
/* oklch */ color: oklch(20.9% 0.101 292.3);
Tailwind
colors: {
  custom: {
    50: '#5e4976',
    500: '#1c0641',
    950: '#000000',
  },
}
SCSS
$custom: #1c0641;
$custom-light: #5e4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0641",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 262.373,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20895,
    "c": 0.10134,
    "h": 292.3
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#1C0641
secondary
#5D8122
accent
#F92EAE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1C0641

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

Preview Lab → · Contrast checker → · Palette generator →

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