#1C0339#1C0339

#1C0339 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.096 H 298.3°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#1C0339
RGBrgb(28, 3, 57)
HSLhsl(268, 90%, 12%)
HSVhsv(268, 95%, 22%)
CMYKcmyk(50.9%, 94.7%, 0%, 77.6%)
CIE-LABlab(5.49, 25.40, -29.00)
CIE-LCHlch(5.49, 38.55, 311.21°)
OKLaboklab(19.49% 0.0455 -0.0847)
OKLCHoklch(19.49% 0.096 298.3)
XYZxyz(1.2498, 0.6074, 3.9215)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0339 #203903
analogous
#030539 #1C0339 #370339
triadic
#1C0339 #391C03 #03391C
tetradic
#1C0339 #390305 #203903 #033937
square
#1C0339 #390305 #203903 #033937
split-complementary
#1C0339 #393703 #053903
monochromatic
#0E021D #0E021D #1C0339 #390673 #5509AD

Accessibility & contrast

On white

18.73
#1C0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1C0339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0339
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0339#FFFFFF#000000##FFFFFF
##1C03391.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#14121E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c0339;
/* rgb */ color: rgb(28, 3, 57);
/* oklch */ color: oklch(19.5% 0.096 298.3);
Tailwind
colors: {
  custom: {
    50: '#5c4770',
    500: '#1c0339',
    950: '#000000',
  },
}
SCSS
$custom: #1c0339;
$custom-light: #5c4770;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0339",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 267.778,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19492,
    "c": 0.09615,
    "h": 298.3
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#1C0339
secondary
#4F7C1C
accent
#FF299C
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0339

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

Preview Lab → · Contrast checker → · Palette generator →

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