#1C0E5E#1C0E5E

#1C0E5E is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.130 H 279.7°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#1C0E5E
RGBrgb(28, 14, 94)
HSLhsl(251, 74%, 21%)
HSVhsv(251, 85%, 37%)
CMYKcmyk(70.2%, 85.1%, 0%, 63.1%)
CIE-LABlab(11.75, 32.11, -44.48)
CIE-LCHlch(11.75, 54.87, 305.83°)
OKLaboklab(25.36% 0.0219 -0.1284)
OKLCHoklch(25.36% 0.13 279.7)
XYZxyz(2.6557, 1.3689, 10.7118)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E5E #505E0E
analogous
#0E285E #1C0E5E #440E5E
triadic
#1C0E5E #5E1C0E #0E5E1C
tetradic
#1C0E5E #5E0E28 #505E0E #0E5E44
square
#1C0E5E #5E0E28 #505E0E #0E5E44
split-complementary
#1C0E5E #5E440E #285E0E
monochromatic
#08041B #0C0629 #1C0E5E #2C1693 #3C1EC9

Accessibility & contrast

On white

16.49
#1C0E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0E5E
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E5E#FFFFFF#000000##FFFFFF
##1C0E5E1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c0e5e;
/* rgb */ color: rgb(28, 14, 94);
/* oklch */ color: oklch(25.4% 0.130 279.7);
Tailwind
colors: {
  custom: {
    50: '#634f8d',
    500: '#1c0e5e',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e5e;
$custom-light: #634f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e5e",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 250.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25359,
    "c": 0.13029,
    "h": 279.7
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#1C0E5E
secondary
#869830
accent
#F137D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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