#1C0334#1C0334

#1C0334 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.090 H 301.9°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#1C0334
RGBrgb(28, 3, 52)
HSLhsl(271, 89%, 11%)
HSVhsv(271, 94%, 20%)
CMYKcmyk(46.2%, 94.2%, 0%, 79.6%)
CIE-LABlab(5.06, 23.39, -26.03)
CIE-LCHlch(5.06, 34.99, 311.94°)
OKLaboklab(18.93% 0.0477 -0.0767)
OKLCHoklch(18.93% 0.09 301.9)
XYZxyz(1.1311, 0.5599, 3.2966)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0334 #1B3403
analogous
#030334 #1C0334 #340333
triadic
#1C0334 #341C03 #03341C
tetradic
#1C0334 #340303 #1B3403 #033334
square
#1C0334 #340303 #1B3403 #033334
split-complementary
#1C0334 #333403 #033403
monochromatic
#10021D #10021D #1C0334 #3B066E #5A0AA8

Accessibility & contrast

On white

18.88
#1C0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1C0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0334
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0334#FFFFFF#000000##FFFFFF
##1C03341.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#17101B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c0334;
/* rgb */ color: rgb(28, 3, 52);
/* oklch */ color: oklch(18.9% 0.090 301.9);
Tailwind
colors: {
  custom: {
    50: '#5b476c',
    500: '#1c0334',
    950: '#000000',
  },
}
SCSS
$custom: #1c0334;
$custom-light: #5b476c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0334",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 270.612,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1893,
    "c": 0.0903,
    "h": 301.9
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#1C0334
secondary
#48771C
accent
#FF2992
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0334

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

Preview Lab → · Contrast checker → · Palette generator →

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