#1C052E#1C052E

#1C052E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.079 H 306.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#1C052E
RGBrgb(28, 5, 46)
HSLhsl(274, 80%, 10%)
HSVhsv(274, 89%, 18%)
CMYKcmyk(39.1%, 89.1%, 0%, 82%)
CIE-LABlab(4.99, 20.02, -21.67)
CIE-LCHlch(4.99, 29.51, 312.74°)
OKLaboklab(18.68% 0.0465 -0.064)
OKLCHoklch(18.68% 0.079 306)
XYZxyz(1.0262, 0.5527, 2.6369)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C052E #172E05
analogous
#08052E #1C052E #2E052B
triadic
#1C052E #2E1C05 #052E1C
tetradic
#1C052E #2E0805 #172E05 #052B2E
square
#1C052E #2E0805 #172E05 #052B2E
split-complementary
#1C052E #2B2E05 #052E08
monochromatic
#11031C #11031C #1C052E #3E0B65 #5F119C

Accessibility & contrast

On white

18.91
#1C052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C052E
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C052E#FFFFFF#000000##FFFFFF
##1C052E1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#190E18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1c052e;
/* rgb */ color: rgb(28, 5, 46);
/* oklch */ color: oklch(18.7% 0.079 306.0);
Tailwind
colors: {
  custom: {
    50: '#5a4867',
    500: '#1c052e',
    950: '#000000',
  },
}
SCSS
$custom: #1c052e;
$custom-light: #5a4867;
$custom-dark: #000000;
JSON
{
  "hex": "#1c052e",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 273.659,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.18675,
    "c": 0.07909,
    "h": 306
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#1C052E
secondary
#42701F
accent
#F73188
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C052E

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

Preview Lab → · Contrast checker → · Palette generator →

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