#1C0E4D#1C0E4D

#1C0E4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.108 H 284.6°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#1C0E4D
RGBrgb(28, 14, 77)
HSLhsl(253, 69%, 18%)
HSVhsv(253, 82%, 30%)
CMYKcmyk(63.6%, 81.8%, 0%, 69.8%)
CIE-LABlab(9.77, 26.38, -36.17)
CIE-LCHlch(9.77, 44.76, 306.10°)
OKLaboklab(23.39% 0.0271 -0.1042)
OKLCHoklch(23.39% 0.108 284.6)
XYZxyz(1.9751, 1.0967, 7.1273)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E4D #3F4D0E
analogous
#0E204D #1C0E4D #3B0E4D
triadic
#1C0E4D #4D1C0E #0E4D1C
tetradic
#1C0E4D #4D0E20 #3F4D0E #0E4D3B
square
#1C0E4D #4D0E20 #3F4D0E #0E4D3B
split-complementary
#1C0E4D #4D3B0E #204D0E
monochromatic
#09051A #09051A #1C0E4D #2F1781 #4221B5

Accessibility & contrast

On white

17.22
#1C0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1C0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E4D
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E4D#FFFFFF#000000##FFFFFF
##1C0E4D1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#03202C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c0e4d;
/* rgb */ color: rgb(28, 14, 77);
/* oklch */ color: oklch(23.4% 0.108 284.6);
Tailwind
colors: {
  custom: {
    50: '#5f4e80',
    500: '#1c0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e4d;
$custom-light: #5f4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e4d",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 253.333,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23385,
    "c": 0.10766,
    "h": 284.6
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#1C0E4D
secondary
#74882F
accent
#EC3CC5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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