#1C0F5A#1C0F5A

#1C0F5A is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.0% C 0.124 H 280.5°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#1C0F5A
RGBrgb(28, 15, 90)
HSLhsl(250, 71%, 21%)
HSVhsv(250, 83%, 35%)
CMYKcmyk(68.9%, 83.3%, 0%, 64.7%)
CIE-LABlab(11.46, 30.23, -42.27)
CIE-LCHlch(11.46, 51.97, 305.57°)
OKLaboklab(25.02% 0.0225 -0.122)
OKLCHoklch(25.02% 0.124 280.5)
XYZxyz(2.4946, 1.3265, 9.7955)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F5A #4D5A0F
analogous
#0F275A #1C0F5A #410F5A
triadic
#1C0F5A #5A1C0F #0F5A1C
tetradic
#1C0F5A #5A0F27 #4D5A0F #0F5A41
square
#1C0F5A #5A0F27 #4D5A0F #0F5A41
split-complementary
#1C0F5A #5A410F #275A0F
monochromatic
#08041A #0C0626 #1C0F5A #2C188E #3D20C3

Accessibility & contrast

On white

16.60
#1C0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0F5A
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F5A#FFFFFF#000000##FFFFFF
##1C0F5A1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c0f5a;
/* rgb */ color: rgb(28, 15, 90);
/* oklch */ color: oklch(25.0% 0.124 280.5);
Tailwind
colors: {
  custom: {
    50: '#624f8a',
    500: '#1c0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f5a;
$custom-light: #624f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f5a",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 250.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25016,
    "c": 0.12407,
    "h": 280.5
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#1C0F5A
secondary
#839431
accent
#EE3ACF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1C0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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