#1C0131#1C0131

#1C0131 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.091 H 305.2°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#1C0131
RGBrgb(28, 1, 49)
HSLhsl(274, 96%, 10%)
HSVhsv(274, 98%, 19%)
CMYKcmyk(42.9%, 98%, 0%, 80.8%)
CIE-LABlab(4.43, 23.09, -24.81)
CIE-LCHlch(4.43, 33.89, 312.94°)
OKLaboklab(18.22% 0.0525 -0.0744)
OKLCHoklch(18.22% 0.091 305.2)
XYZxyz(1.0440, 0.4903, 2.9448)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0131 #163101
analogous
#040131 #1C0131 #31012E
triadic
#1C0131 #311C01 #01311C
tetradic
#1C0131 #310401 #163101 #012E31
square
#1C0131 #310401 #163101 #012E31
split-complementary
#1C0131 #2E3101 #013104
monochromatic
#11011E #11011E #1C0131 #3E026D #6103A9

Accessibility & contrast

On white

19.13
#1C0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1C0131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0131
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0131#FFFFFF#000000##FFFFFF
##1C01311.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#180D19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1c0131;
/* rgb */ color: rgb(28, 1, 49);
/* oklch */ color: oklch(18.2% 0.091 305.2);
Tailwind
colors: {
  custom: {
    50: '#5a4669',
    500: '#1c0131',
    950: '#000000',
  },
}
SCSS
$custom: #1c0131;
$custom-light: #5a4669;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0131",
  "rgb": {
    "r": 28,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 273.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18216,
    "c": 0.09102,
    "h": 305.2
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#1C0131
secondary
#417717
accent
#FF2987
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C0131

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

Preview Lab → · Contrast checker → · Palette generator →

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