#1C052A#1C052A

#1C052A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.074 H 309.8°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#1C052A
RGBrgb(28, 5, 42)
HSLhsl(277, 79%, 9%)
HSVhsv(277, 88%, 16%)
CMYKcmyk(33.3%, 88.1%, 0%, 83.5%)
CIE-LABlab(4.72, 18.43, -19.08)
CIE-LCHlch(4.72, 26.53, 314.00°)
OKLaboklab(18.29% 0.0474 -0.0569)
OKLCHoklch(18.29% 0.074 309.8)
XYZxyz(0.9510, 0.5226, 2.2408)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C052A #132A05
analogous
#0A052A #1C052A #2A0526
triadic
#1C052A #2A1C05 #052A1C
tetradic
#1C052A #2A0A05 #132A05 #05262A
square
#1C052A #2A0A05 #132A05 #05262A
split-complementary
#1C052A #262A05 #052A0A
monochromatic
#12031B #12031B #1C052A #400C61 #651297

Accessibility & contrast

On white

19.01
#1C052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1C052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C052A
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C052A#FFFFFF#000000##FFFFFF
##1C052A1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#011029
Tritanopia (blue-blind)
#1A0D16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c052a;
/* rgb */ color: rgb(28, 5, 42);
/* oklch */ color: oklch(18.3% 0.074 309.8);
Tailwind
colors: {
  custom: {
    50: '#594864',
    500: '#1c052a',
    950: '#000000',
  },
}
SCSS
$custom: #1c052a;
$custom-light: #594864;
$custom-dark: #000000;
JSON
{
  "hex": "#1c052a",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 277.297,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18288,
    "c": 0.07409,
    "h": 309.8
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#1C052A
secondary
#3C6C1F
accent
#F5337C
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #1C052A

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

Preview Lab → · Contrast checker → · Palette generator →

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