#1C0E5B#1C0E5B

#1C0E5B is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.0% C 0.126 H 280.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1C0E5B
RGBrgb(28, 14, 91)
HSLhsl(251, 73%, 21%)
HSVhsv(251, 85%, 36%)
CMYKcmyk(69.2%, 84.6%, 0%, 64.3%)
CIE-LABlab(11.39, 31.12, -43.06)
CIE-LCHlch(11.39, 53.13, 305.85°)
OKLaboklab(25% 0.0228 -0.1243)
OKLCHoklch(25% 0.126 280.4)
XYZxyz(2.5237, 1.3161, 10.0165)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E5B #4D5B0E
analogous
#0E265B #1C0E5B #420E5B
triadic
#1C0E5B #5B1C0E #0E5B1C
tetradic
#1C0E5B #5B0E26 #4D5B0E #0E5B42
square
#1C0E5B #5B0E26 #4D5B0E #0E5B42
split-complementary
#1C0E5B #5B420E #265B0E
monochromatic
#08041B #0C0626 #1C0E5B #2C1690 #3D1EC5

Accessibility & contrast

On white

16.62
#1C0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1C0E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E5B
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E5B#FFFFFF#000000##FFFFFF
##1C0E5B1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c0e5b;
/* rgb */ color: rgb(28, 14, 91);
/* oklch */ color: oklch(25.0% 0.126 280.4);
Tailwind
colors: {
  custom: {
    50: '#634f8a',
    500: '#1c0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e5b;
$custom-light: #634f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e5b",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 250.909,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25001,
    "c": 0.12639,
    "h": 280.4
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#1C0E5B
secondary
#839530
accent
#F038CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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