#1C0E54#1C0E54

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

Color values

HEX#1C0E54
RGBrgb(28, 14, 84)
HSLhsl(252, 71%, 19%)
HSVhsv(252, 83%, 33%)
CMYKcmyk(66.7%, 83.3%, 0%, 67.1%)
CIE-LABlab(10.56, 28.76, -39.68)
CIE-LCHlch(10.56, 49.00, 305.94°)
OKLaboklab(24.18% 0.0251 -0.1144)
OKLCHoklch(24.18% 0.117 282.4)
XYZxyz(2.2357, 1.2009, 8.4998)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E54 #46540E
analogous
#0E2354 #1C0E54 #3F0E54
triadic
#1C0E54 #541C0E #0E541C
tetradic
#1C0E54 #540E23 #46540E #0E543F
square
#1C0E54 #540E23 #46540E #0E543F
split-complementary
#1C0E54 #543F0E #23540E
monochromatic
#09041A #0B0520 #1C0E54 #2D1788 #3F1FBD

Accessibility & contrast

On white

16.93
#1C0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0E54
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E54#FFFFFF#000000##FFFFFF
##1C0E541.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0e54;
/* rgb */ color: rgb(28, 14, 84);
/* oklch */ color: oklch(24.2% 0.117 282.4);
Tailwind
colors: {
  custom: {
    50: '#614e85',
    500: '#1c0e54',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e54;
$custom-light: #614e85;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e54",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2418,
    "c": 0.11714,
    "h": 282.4
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

primary
#1C0E54
secondary
#7B8E2F
accent
#EE3ACA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1C0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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