#1C0341#1C0341

#1C0341 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.106 H 293.3°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#1C0341
RGBrgb(28, 3, 65)
HSLhsl(264, 91%, 13%)
HSVhsv(264, 95%, 25%)
CMYKcmyk(56.9%, 95.4%, 0%, 74.5%)
CIE-LABlab(6.27, 28.47, -33.50)
CIE-LCHlch(6.27, 43.97, 310.36°)
OKLaboklab(20.43% 0.0417 -0.0969)
OKLCHoklch(20.43% 0.106 293.3)
XYZxyz(1.4653, 0.6936, 5.0567)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0341 #284103
analogous
#030941 #1C0341 #3B0341
triadic
#1C0341 #411C03 #03411C
tetradic
#1C0341 #410309 #284103 #03413B
square
#1C0341 #410309 #284103 #03413B
split-complementary
#1C0341 #413B03 #094103
monochromatic
#0D011D #0D011D #1C0341 #35067B #4E08B6

Accessibility & contrast

On white

18.44
#1C0341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1C0341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0341
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0341#FFFFFF#000000##FFFFFF
##1C03411.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#101523
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c0341;
/* rgb */ color: rgb(28, 3, 65);
/* oklch */ color: oklch(20.4% 0.106 293.3);
Tailwind
colors: {
  custom: {
    50: '#5e4776',
    500: '#1c0341',
    950: '#000000',
  },
}
SCSS
$custom: #1c0341;
$custom-light: #5e4776;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0341",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 264.194,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20434,
    "c": 0.10554,
    "h": 293.3
  },
  "luminance": 0.00694
}

Semantic roles & 50–950 ramp

primary
#1C0341
secondary
#5A831D
accent
#FF29A9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1C0341

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

Preview Lab → · Contrast checker → · Palette generator →

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