#1C0E5F#1C0E5F

#1C0E5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.132 H 279.4°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#1C0E5F
RGBrgb(28, 14, 95)
HSLhsl(250, 74%, 21%)
HSVhsv(250, 85%, 37%)
CMYKcmyk(70.5%, 85.3%, 0%, 62.7%)
CIE-LABlab(11.87, 32.44, -44.95)
CIE-LCHlch(11.87, 55.44, 305.82°)
OKLaboklab(25.48% 0.0215 -0.1298)
OKLCHoklch(25.48% 0.132 279.4)
XYZxyz(2.7008, 1.3870, 10.9496)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E5F #515F0E
analogous
#0E295F #1C0E5F #450E5F
triadic
#1C0E5F #5F1C0E #0E5F1C
tetradic
#1C0E5F #5F0E29 #515F0E #0E5F45
square
#1C0E5F #5F0E29 #515F0E #0E5F45
split-complementary
#1C0E5F #5F450E #295F0E
monochromatic
#08041B #0C062A #1C0E5F #2C1694 #3B1ECA

Accessibility & contrast

On white

16.44
#1C0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1C0E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E5F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E5F#FFFFFF#000000##FFFFFF
##1C0E5F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c0e5f;
/* rgb */ color: rgb(28, 14, 95);
/* oklch */ color: oklch(25.5% 0.132 279.4);
Tailwind
colors: {
  custom: {
    50: '#644f8d',
    500: '#1c0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e5f;
$custom-light: #644f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e5f",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 250.37,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25479,
    "c": 0.13157,
    "h": 279.4
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#1C0E5F
secondary
#879930
accent
#F137D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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