#1C0937#1C0937

#1C0937 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.084 H 297.1°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#1C0937
RGBrgb(28, 9, 55)
HSLhsl(265, 72%, 13%)
HSVhsv(265, 84%, 22%)
CMYKcmyk(49.1%, 83.6%, 0%, 78.4%)
CIE-LABlab(6.49, 21.60, -25.93)
CIE-LCHlch(6.49, 33.74, 309.80°)
OKLaboklab(20.27% 0.0383 -0.0746)
OKLCHoklch(20.27% 0.084 297.1)
XYZxyz(1.2660, 0.7181, 3.6856)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0937 #243709
analogous
#090D37 #1C0937 #330937
triadic
#1C0937 #371C09 #09371C
tetradic
#1C0937 #37090D #243709 #093733
square
#1C0937 #37090D #243709 #093733
split-complementary
#1C0937 #373309 #0D3709
monochromatic
#0D041A #0D041A #1C0937 #37126C #521AA0

Accessibility & contrast

On white

18.36
#1C0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1C0937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0937
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0937#FFFFFF#000000##FFFFFF
##1C09371.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001436
Tritanopia (blue-blind)
#15151F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c0937;
/* rgb */ color: rgb(28, 9, 55);
/* oklch */ color: oklch(20.3% 0.084 297.1);
Tailwind
colors: {
  custom: {
    50: '#5b4a6e',
    500: '#1c0937',
    950: '#000000',
  },
}
SCSS
$custom: #1c0937;
$custom-light: #5b4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0937",
  "rgb": {
    "r": 28,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 264.783,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20274,
    "c": 0.08389,
    "h": 297.1
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#1C0937
secondary
#557527
accent
#EF39A4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1C0937

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

Preview Lab → · Contrast checker → · Palette generator →

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