#1C0437#1C0437

#1C0437 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.092 H 299.3°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#1C0437
RGBrgb(28, 4, 55)
HSLhsl(268, 86%, 12%)
HSVhsv(268, 93%, 22%)
CMYKcmyk(49.1%, 92.7%, 0%, 78.4%)
CIE-LABlab(5.51, 24.11, -27.51)
CIE-LCHlch(5.51, 36.58, 311.23°)
OKLaboklab(19.44% 0.045 -0.0803)
OKLCHoklch(19.44% 0.092 299.3)
XYZxyz(1.2117, 0.6095, 3.6675)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0437 #1F3704
analogous
#040637 #1C0437 #360437
triadic
#1C0437 #371C04 #04371C
tetradic
#1C0437 #370406 #1F3704 #043736
square
#1C0437 #370406 #1F3704 #043736
split-complementary
#1C0437 #373604 #063704
monochromatic
#0F021D #0F021D #1C0437 #390870 #560CA9

Accessibility & contrast

On white

18.72
#1C0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1C0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0437
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0437#FFFFFF#000000##FFFFFF
##1C04371.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#15121D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1c0437;
/* rgb */ color: rgb(28, 4, 55);
/* oklch */ color: oklch(19.4% 0.092 299.3);
Tailwind
colors: {
  custom: {
    50: '#5b476e',
    500: '#1c0437',
    950: '#000000',
  },
}
SCSS
$custom: #1c0437;
$custom-light: #5b476e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0437",
  "rgb": {
    "r": 28,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 268.235,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.1944,
    "c": 0.09204,
    "h": 299.3
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#1C0437
secondary
#4E791E
accent
#FD2B9A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1C0437

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

Preview Lab → · Contrast checker → · Palette generator →

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