#1C0F52#1C0F52

#1C0F52 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.113 H 282.7°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#1C0F52
RGBrgb(28, 15, 82)
HSLhsl(252, 69%, 19%)
HSVhsv(252, 82%, 32%)
CMYKcmyk(65.9%, 81.7%, 0%, 67.8%)
CIE-LABlab(10.54, 27.50, -38.35)
CIE-LCHlch(10.54, 47.19, 305.64°)
OKLaboklab(24.09% 0.0249 -0.1106)
OKLCHoklch(24.09% 0.113 282.7)
XYZxyz(2.1722, 1.1976, 8.0977)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F52 #45520F
analogous
#0F2452 #1C0F52 #3E0F52
triadic
#1C0F52 #521C0F #0F521C
tetradic
#1C0F52 #520F24 #45520F #0F523E
square
#1C0F52 #520F24 #45520F #0F523E
split-complementary
#1C0F52 #523E0F #24520F
monochromatic
#09051A #0A061E #1C0F52 #2E1886 #3F22B9

Accessibility & contrast

On white

16.94
#1C0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1C0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F52
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F52#FFFFFF#000000##FFFFFF
##1C0F521.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0f52;
/* rgb */ color: rgb(28, 15, 82);
/* oklch */ color: oklch(24.1% 0.113 282.7);
Tailwind
colors: {
  custom: {
    50: '#604f83',
    500: '#1c0f52',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f52;
$custom-light: #604f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f52",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 251.642,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24094,
    "c": 0.11333,
    "h": 282.7
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#1C0F52
secondary
#7A8C31
accent
#EC3CCA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1C0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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