#1C0F56#1C0F56

#1C0F56 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.119 H 281.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1C0F56
RGBrgb(28, 15, 86)
HSLhsl(251, 70%, 20%)
HSVhsv(251, 83%, 34%)
CMYKcmyk(67.4%, 82.6%, 0%, 66.3%)
CIE-LABlab(10.99, 28.87, -40.33)
CIE-LCHlch(10.99, 49.60, 305.60°)
OKLaboklab(24.55% 0.0237 -0.1163)
OKLCHoklch(24.55% 0.119 281.5)
XYZxyz(2.3289, 1.2602, 8.9228)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F56 #49560F
analogous
#0F2656 #1C0F56 #400F56
triadic
#1C0F56 #561C0F #0F561C
tetradic
#1C0F56 #560F26 #49560F #0F5640
square
#1C0F56 #560F26 #49560F #0F5640
split-complementary
#1C0F56 #56400F #26560F
monochromatic
#08051A #0B0622 #1C0F56 #2D188A #3E21BE

Accessibility & contrast

On white

16.77
#1C0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1C0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F56
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F56#FFFFFF#000000##FFFFFF
##1C0F561.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c0f56;
/* rgb */ color: rgb(28, 15, 86);
/* oklch */ color: oklch(24.6% 0.119 281.5);
Tailwind
colors: {
  custom: {
    50: '#614f86',
    500: '#1c0f56',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f56;
$custom-light: #614f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f56",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 250.986,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24551,
    "c": 0.11874,
    "h": 281.5
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#1C0F56
secondary
#7E9031
accent
#ED3BCC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1C0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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