#1C0E4A#1C0E4A

#1C0E4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.104 H 285.7°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#1C0E4A
RGBrgb(28, 14, 74)
HSLhsl(254, 68%, 17%)
HSVhsv(254, 81%, 29%)
CMYKcmyk(62.2%, 81.1%, 0%, 71%)
CIE-LABlab(9.44, 25.35, -34.63)
CIE-LCHlch(9.44, 42.91, 306.21°)
OKLaboklab(23.05% 0.028 -0.0997)
OKLCHoklch(23.05% 0.104 285.7)
XYZxyz(1.8716, 1.0553, 6.5823)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E4A #3C4A0E
analogous
#0E1E4A #1C0E4A #3A0E4A
triadic
#1C0E4A #4A1C0E #0E4A1C
tetradic
#1C0E4A #4A0E1E #3C4A0E #0E4A3A
square
#1C0E4A #4A0E1E #3C4A0E #0E4A3A
split-complementary
#1C0E4A #4A3A0E #1E4A0E
monochromatic
#0A051A #0A051A #1C0E4A #2F187D #4321B1

Accessibility & contrast

On white

17.34
#1C0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1C0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E4A
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E4A#FFFFFF#000000##FFFFFF
##1C0E4A1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#071E2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1c0e4a;
/* rgb */ color: rgb(28, 14, 74);
/* oklch */ color: oklch(23.1% 0.104 285.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e7d',
    500: '#1c0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e4a;
$custom-light: #5f4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e4a",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 254,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23054,
    "c": 0.10351,
    "h": 285.7
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#1C0E4A
secondary
#71852F
accent
#EB3DC2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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