#1C0741#1C0741

#1C0741 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.100 H 292.0°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#1C0741
RGBrgb(28, 7, 65)
HSLhsl(262, 81%, 14%)
HSVhsv(262, 89%, 25%)
CMYKcmyk(56.9%, 89.2%, 0%, 74.5%)
CIE-LABlab(7.05, 26.31, -32.22)
CIE-LCHlch(7.05, 41.59, 309.23°)
OKLaboklab(21.04% 0.0374 -0.0927)
OKLCHoklch(21.04% 0.1 292)
XYZxyz(1.5087, 0.7804, 5.0711)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0741 #2C4107
analogous
#070F41 #1C0741 #390741
triadic
#1C0741 #411C07 #07411C
tetradic
#1C0741 #41070F #2C4107 #074139
square
#1C0741 #41070F #2C4107 #074139
split-complementary
#1C0741 #413907 #0F4107
monochromatic
#0C031C #0C031C #1C0741 #340D78 #4C13B0

Accessibility & contrast

On white

18.17
#1C0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1C0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0741
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0741#FFFFFF#000000##FFFFFF
##1C07411.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#0F1824
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1c0741;
/* rgb */ color: rgb(28, 7, 65);
/* oklch */ color: oklch(21.0% 0.100 292.0);
Tailwind
colors: {
  custom: {
    50: '#5d4976',
    500: '#1c0741',
    950: '#000000',
  },
}
SCSS
$custom: #1c0741;
$custom-light: #5d4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0741",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 261.724,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21044,
    "c": 0.1,
    "h": 292
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#1C0741
secondary
#5F8024
accent
#F731AF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1C0741

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

Preview Lab → · Contrast checker → · Palette generator →

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