#1C0335#1C0335

#1C0335 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.091 H 301.1°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#1C0335
RGBrgb(28, 3, 53)
HSLhsl(270, 89%, 11%)
HSVhsv(270, 94%, 21%)
CMYKcmyk(47.2%, 94.3%, 0%, 79.2%)
CIE-LABlab(5.14, 23.80, -26.63)
CIE-LCHlch(5.14, 35.72, 311.78°)
OKLaboklab(19.04% 0.0473 -0.0783)
OKLCHoklch(19.04% 0.091 301.1)
XYZxyz(1.1539, 0.5690, 3.4165)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0335 #1C3503
analogous
#030335 #1C0335 #350335
triadic
#1C0335 #351C03 #03351C
tetradic
#1C0335 #350303 #1C3503 #033535
square
#1C0335 #350303 #1C3503 #033535
split-complementary
#1C0335 #353503 #033503
monochromatic
#0F021D #0F021D #1C0335 #3B066F #590AA9

Accessibility & contrast

On white

18.85
#1C0335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0335
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0335#FFFFFF#000000##FFFFFF
##1C03351.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#16101C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c0335;
/* rgb */ color: rgb(28, 3, 53);
/* oklch */ color: oklch(19.0% 0.091 301.1);
Tailwind
colors: {
  custom: {
    50: '#5b476d',
    500: '#1c0335',
    950: '#000000',
  },
}
SCSS
$custom: #1c0335;
$custom-light: #5b476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0335",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 270,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19041,
    "c": 0.09147,
    "h": 301.1
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#1C0335
secondary
#4A781C
accent
#FF2994
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0335

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

Preview Lab → · Contrast checker → · Palette generator →

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