#1C1052#1C1052

#1C1052 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.112 H 282.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#1C1052
RGBrgb(28, 16, 82)
HSLhsl(251, 67%, 19%)
HSVhsv(251, 80%, 32%)
CMYKcmyk(65.9%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.75, 26.90, -38.00)
CIE-LCHlch(10.75, 46.56, 305.29°)
OKLaboklab(24.24% 0.0241 -0.1095)
OKLCHoklch(24.24% 0.112 282.4)
XYZxyz(2.1867, 1.2265, 8.1025)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1052 #465210
analogous
#102552 #1C1052 #3D1052
triadic
#1C1052 #521C10 #10521C
tetradic
#1C1052 #521025 #465210 #10523D
square
#1C1052 #521025 #465210 #10523D
split-complementary
#1C1052 #523D10 #255210
monochromatic
#09051A #0B061F #1C1052 #2D1A85 #3F24B8

Accessibility & contrast

On white

16.86
#1C1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1C1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1052
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1052#FFFFFF#000000##FFFFFF
##1C10521.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c1052;
/* rgb */ color: rgb(28, 16, 82);
/* oklch */ color: oklch(24.2% 0.112 282.4);
Tailwind
colors: {
  custom: {
    50: '#605083',
    500: '#1c1052',
    950: '#000000',
  },
}
SCSS
$custom: #1c1052;
$custom-light: #605083;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1052",
  "rgb": {
    "r": 28,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 250.909,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24244,
    "c": 0.11217,
    "h": 282.4
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#1C1052
secondary
#7B8C32
accent
#EA3ECB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1C1052

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

Preview Lab → · Contrast checker → · Palette generator →

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