#1C0D5F#1C0D5F

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

Color values

HEX#1C0D5F
RGBrgb(28, 13, 95)
HSLhsl(251, 76%, 21%)
HSVhsv(251, 86%, 37%)
CMYKcmyk(70.5%, 86.3%, 0%, 62.7%)
CIE-LABlab(11.69, 32.96, -45.25)
CIE-LCHlch(11.69, 55.98, 306.07°)
OKLaboklab(25.36% 0.0221 -0.1306)
OKLCHoklch(25.36% 0.132 279.6)
XYZxyz(2.6877, 1.3607, 10.9453)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D5F #505F0D
analogous
#0D275F #1C0D5F #450D5F
triadic
#1C0D5F #5F1C0D #0D5F1C
tetradic
#1C0D5F #5F0D27 #505F0D #0D5F45
square
#1C0D5F #5F0D27 #505F0D #0D5F45
split-complementary
#1C0D5F #5F450D #275F0D
monochromatic
#08041B #0C0629 #1C0D5F #2C1495 #3C1CCB

Accessibility & contrast

On white

16.51
#1C0D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0D5F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D5F#FFFFFF#000000##FFFFFF
##1C0D5F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c0d5f;
/* rgb */ color: rgb(28, 13, 95);
/* oklch */ color: oklch(25.4% 0.132 279.6);
Tailwind
colors: {
  custom: {
    50: '#644f8d',
    500: '#1c0d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d5f;
$custom-light: #644f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d5f",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 95
  },
  "hsl": {
    "h": 250.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25356,
    "c": 0.13249,
    "h": 279.6
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#1C0D5F
secondary
#86992F
accent
#F335D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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