#1C0E5D#1C0E5D

#1C0E5D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.2% C 0.129 H 279.9°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#1C0E5D
RGBrgb(28, 14, 93)
HSLhsl(251, 74%, 21%)
HSVhsv(251, 85%, 36%)
CMYKcmyk(69.9%, 84.9%, 0%, 63.5%)
CIE-LABlab(11.63, 31.78, -44.01)
CIE-LCHlch(11.63, 54.29, 305.83°)
OKLaboklab(25.24% 0.0222 -0.1271)
OKLCHoklch(25.24% 0.129 279.9)
XYZxyz(2.6111, 1.3511, 10.4770)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E5D #4F5D0E
analogous
#0E275D #1C0E5D #430E5D
triadic
#1C0E5D #5D1C0E #0E5D1C
tetradic
#1C0E5D #5D0E27 #4F5D0E #0E5D43
square
#1C0E5D #5D0E27 #4F5D0E #0E5D43
split-complementary
#1C0E5D #5D430E #275D0E
monochromatic
#08041B #0C0628 #1C0E5D #2C1692 #3C1EC7

Accessibility & contrast

On white

16.53
#1C0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1C0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E5D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E5D#FFFFFF#000000##FFFFFF
##1C0E5D1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c0e5d;
/* rgb */ color: rgb(28, 14, 93);
/* oklch */ color: oklch(25.2% 0.129 279.9);
Tailwind
colors: {
  custom: {
    50: '#634f8c',
    500: '#1c0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e5d;
$custom-light: #634f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e5d",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 250.633,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25239,
    "c": 0.12899,
    "h": 279.9
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#1C0E5D
secondary
#859730
accent
#F037D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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