#1C0537#1C0537

#1C0537 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.090 H 298.8°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#1C0537
RGBrgb(28, 5, 55)
HSLhsl(268, 83%, 12%)
HSVhsv(268, 91%, 22%)
CMYKcmyk(49.1%, 90.9%, 0%, 78.4%)
CIE-LABlab(5.70, 23.61, -27.19)
CIE-LCHlch(5.70, 36.01, 310.97°)
OKLaboklab(19.61% 0.0436 -0.0791)
OKLCHoklch(19.61% 0.09 298.8)
XYZxyz(1.2226, 0.6312, 3.6711)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0537 #203705
analogous
#050737 #1C0537 #350537
triadic
#1C0537 #371C05 #05371C
tetradic
#1C0537 #370507 #203705 #053735
square
#1C0537 #370507 #203705 #053735
split-complementary
#1C0537 #373505 #073705
monochromatic
#0E031C #0E031C #1C0537 #390A6F #550FA7

Accessibility & contrast

On white

18.65
#1C0537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1C0537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0537
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0537#FFFFFF#000000##FFFFFF
##1C05371.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#15121E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1c0537;
/* rgb */ color: rgb(28, 5, 55);
/* oklch */ color: oklch(19.6% 0.090 298.8);
Tailwind
colors: {
  custom: {
    50: '#5b486e',
    500: '#1c0537',
    950: '#000000',
  },
}
SCSS
$custom: #1c0537;
$custom-light: #5b486e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0537",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 267.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19613,
    "c": 0.09033,
    "h": 298.8
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#1C0537
secondary
#4F7820
accent
#FA2E9C
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0537

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

Preview Lab → · Contrast checker → · Palette generator →

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