#1C0F5B#1C0F5B

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

Color values

HEX#1C0F5B
RGBrgb(28, 15, 91)
HSLhsl(250, 72%, 21%)
HSVhsv(250, 84%, 36%)
CMYKcmyk(69.2%, 83.5%, 0%, 64.3%)
CIE-LABlab(11.58, 30.57, -42.75)
CIE-LCHlch(11.58, 52.55, 305.56°)
OKLaboklab(25.13% 0.0222 -0.1234)
OKLCHoklch(25.13% 0.125 280.2)
XYZxyz(2.5374, 1.3437, 10.0211)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F5B #4E5B0F
analogous
#0F285B #1C0F5B #420F5B
triadic
#1C0F5B #5B1C0F #0F5B1C
tetradic
#1C0F5B #5B0F28 #4E5B0F #0F5B42
square
#1C0F5B #5B0F28 #4E5B0F #0F5B42
split-complementary
#1C0F5B #5B420F #285B0F
monochromatic
#08041A #0C0626 #1C0F5B #2C1890 #3C20C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C0F5B#FFFFFF#000000##FFFFFF
##1C0F5B1.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)
#00215D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c0f5b;
/* rgb */ color: rgb(28, 15, 91);
/* oklch */ color: oklch(25.1% 0.125 280.2);
Tailwind
colors: {
  custom: {
    50: '#63508a',
    500: '#1c0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f5b;
$custom-light: #63508a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f5b",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 250.263,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25133,
    "c": 0.12539,
    "h": 280.2
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#1C0F5B
secondary
#849531
accent
#EE39CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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