#1C0F5D#1C0F5D

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

Color values

HEX#1C0F5D
RGBrgb(28, 15, 93)
HSLhsl(250, 72%, 21%)
HSVhsv(250, 84%, 36%)
CMYKcmyk(69.9%, 83.9%, 0%, 63.5%)
CIE-LABlab(11.81, 31.24, -43.71)
CIE-LCHlch(11.81, 53.72, 305.56°)
OKLaboklab(25.37% 0.0216 -0.1262)
OKLCHoklch(25.37% 0.128 279.7)
XYZxyz(2.6249, 1.3786, 10.4816)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F5D #505D0F
analogous
#0F295D #1C0F5D #430F5D
triadic
#1C0F5D #5D1C0F #0F5D1C
tetradic
#1C0F5D #5D0F29 #505D0F #0F5D43
square
#1C0F5D #5D0F29 #505D0F #0F5D43
split-complementary
#1C0F5D #5D430F #295D0F
monochromatic
#08041A #0C0628 #1C0F5D #2C1792 #3C20C6

Accessibility & contrast

On white

16.46
#1C0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0F5D
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F5D#FFFFFF#000000##FFFFFF
##1C0F5D1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c0f5d;
/* rgb */ color: rgb(28, 15, 93);
/* oklch */ color: oklch(25.4% 0.128 279.7);
Tailwind
colors: {
  custom: {
    50: '#63508c',
    500: '#1c0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f5d;
$custom-light: #63508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f5d",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 250,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25369,
    "c": 0.12801,
    "h": 279.7
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#1C0F5D
secondary
#869631
accent
#EF39D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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