#1C0C53#1C0C53

#1C0C53 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.118 H 283.1°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#1C0C53
RGBrgb(28, 12, 83)
HSLhsl(254, 75%, 19%)
HSVhsv(254, 86%, 33%)
CMYKcmyk(66.3%, 85.5%, 0%, 67.5%)
CIE-LABlab(10.06, 29.53, -39.82)
CIE-LCHlch(10.06, 49.57, 306.56°)
OKLaboklab(23.8% 0.0268 -0.1148)
OKLCHoklch(23.8% 0.118 283.1)
XYZxyz(2.1712, 1.1342, 8.2864)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0C53 #43530C
analogous
#0C1F53 #1C0C53 #3F0C53
triadic
#1C0C53 #531C0C #0C531C
tetradic
#1C0C53 #530C1F #43530C #0C533F
square
#1C0C53 #530C1F #43530C #0C533F
split-complementary
#1C0C53 #533F0C #1F530C
monochromatic
#09041B #0A041E #1C0C53 #2E1488 #401BBE

Accessibility & contrast

On white

17.12
#1C0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1C0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0C53
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0C53#FFFFFF#000000##FFFFFF
##1C0C531.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1c0c53;
/* rgb */ color: rgb(28, 12, 83);
/* oklch */ color: oklch(23.8% 0.118 283.1);
Tailwind
colors: {
  custom: {
    50: '#614d84',
    500: '#1c0c53',
    950: '#000000',
  },
}
SCSS
$custom: #1c0c53;
$custom-light: #614d84;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0c53",
  "rgb": {
    "r": 28,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 253.521,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23796,
    "c": 0.1179,
    "h": 283.1
  },
  "luminance": 0.01134
}

Semantic roles & 50–950 ramp

primary
#1C0C53
secondary
#788E2D
accent
#F136C7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1C0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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