#1C0D57#1C0D57

#1C0D57 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.4% C 0.122 H 281.7°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#1C0D57
RGBrgb(28, 13, 87)
HSLhsl(252, 74%, 20%)
HSVhsv(252, 85%, 34%)
CMYKcmyk(67.8%, 85.1%, 0%, 65.9%)
CIE-LABlab(10.72, 30.32, -41.46)
CIE-LCHlch(10.72, 51.36, 306.18°)
OKLaboklab(24.4% 0.0248 -0.1196)
OKLCHoklch(24.4% 0.122 281.7)
XYZxyz(2.3426, 1.2227, 9.1275)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0D57 #48570D
analogous
#0D2357 #1C0D57 #410D57
triadic
#1C0D57 #571C0D #0D571C
tetradic
#1C0D57 #570D23 #48570D #0D5741
square
#1C0D57 #570D23 #48570D #0D5741
split-complementary
#1C0D57 #57410D #23570D
monochromatic
#09041B #0B0522 #1C0D57 #2D158C #3E1DC1

Accessibility & contrast

On white

16.87
#1C0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1C0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0D57
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0D57#FFFFFF#000000##FFFFFF
##1C0D571.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c0d57;
/* rgb */ color: rgb(28, 13, 87);
/* oklch */ color: oklch(24.4% 0.122 281.7);
Tailwind
colors: {
  custom: {
    50: '#624e87',
    500: '#1c0d57',
    950: '#000000',
  },
}
SCSS
$custom: #1c0d57;
$custom-light: #624e87;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0d57",
  "rgb": {
    "r": 28,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 252.162,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24397,
    "c": 0.12214,
    "h": 281.7
  },
  "luminance": 0.01223
}

Semantic roles & 50–950 ramp

primary
#1C0D57
secondary
#7D922E
accent
#F137CB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1C0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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