#1C0F57#1C0F57

#1C0F57 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.7% C 0.120 H 281.3°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#1C0F57
RGBrgb(28, 15, 87)
HSLhsl(251, 71%, 20%)
HSVhsv(251, 83%, 34%)
CMYKcmyk(67.8%, 82.8%, 0%, 65.9%)
CIE-LABlab(11.11, 29.21, -40.82)
CIE-LCHlch(11.11, 50.19, 305.59°)
OKLaboklab(24.67% 0.0234 -0.1178)
OKLCHoklch(24.67% 0.12 281.3)
XYZxyz(2.3695, 1.2765, 9.1365)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F57 #4A570F
analogous
#0F2657 #1C0F57 #400F57
triadic
#1C0F57 #571C0F #0F571C
tetradic
#1C0F57 #570F26 #4A570F #0F5740
square
#1C0F57 #570F26 #4A570F #0F5740
split-complementary
#1C0F57 #57400F #26570F
monochromatic
#08051A #0B0623 #1C0F57 #2D188B #3E21BF

Accessibility & contrast

On white

16.73
#1C0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1C0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F57
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F57#FFFFFF#000000##FFFFFF
##1C0F571.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001B56
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c0f57;
/* rgb */ color: rgb(28, 15, 87);
/* oklch */ color: oklch(24.7% 0.120 281.3);
Tailwind
colors: {
  custom: {
    50: '#624f87',
    500: '#1c0f57',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f57;
$custom-light: #624f87;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f57",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 250.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.24666,
    "c": 0.12008,
    "h": 281.3
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#1C0F57
secondary
#7F9131
accent
#ED3ACD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1C0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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