#1C0D5E#1C0D5E

#1C0D5E is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.2% C 0.131 H 279.8°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#1C0D5E
RGBrgb(28, 13, 94)
HSLhsl(251, 76%, 21%)
HSVhsv(251, 86%, 37%)
CMYKcmyk(70.2%, 86.2%, 0%, 63.1%)
CIE-LABlab(11.57, 32.63, -44.78)
CIE-LCHlch(11.57, 55.41, 306.08°)
OKLaboklab(25.24% 0.0224 -0.1293)
OKLCHoklch(25.24% 0.131 279.8)
XYZxyz(2.6425, 1.3427, 10.7074)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D5E #4F5E0D
analogous
#0D265E #1C0D5E #440D5E
triadic
#1C0D5E #5E1C0D #0D5E1C
tetradic
#1C0D5E #5E0D26 #4F5E0D #0D5E44
square
#1C0D5E #5E0D26 #4F5E0D #0D5E44
split-complementary
#1C0D5E #5E440D #265E0D
monochromatic
#08041B #0C0628 #1C0D5E #2C1494 #3C1CCA

Accessibility & contrast

On white

16.55
#1C0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D5E
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D5E#FFFFFF#000000##FFFFFF
##1C0D5E1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0d5e;
/* rgb */ color: rgb(28, 13, 94);
/* oklch */ color: oklch(25.2% 0.131 279.8);
Tailwind
colors: {
  custom: {
    50: '#644f8d',
    500: '#1c0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d5e;
$custom-light: #644f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d5e",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 251.111,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25235,
    "c": 0.13121,
    "h": 279.8
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#1C0D5E
secondary
#85982F
accent
#F236CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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