#1C1237#1C1237

#1C1237 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 21.9% C 0.069 H 292.2°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#1C1237
RGBrgb(28, 18, 55)
HSLhsl(256, 51%, 14%)
HSVhsv(256, 67%, 22%)
CMYKcmyk(49.1%, 67.3%, 0%, 78.4%)
CIE-LABlab(8.61, 16.02, -22.49)
CIE-LCHlch(8.61, 27.61, 305.47°)
OKLaboklab(21.89% 0.0261 -0.064)
OKLCHoklch(21.89% 0.069 292.2)
XYZxyz(1.3846, 0.9553, 3.7251)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1237 #2D3712
analogous
#121B37 #1C1237 #2F1237
triadic
#1C1237 #371C12 #12371C
tetradic
#1C1237 #37121B #2D3712 #12372F
square
#1C1237 #37121B #2D3712 #12372F
split-complementary
#1C1237 #372F12 #1B3712
monochromatic
#0C0817 #0C0817 #1C1237 #332165 #4B3093

Accessibility & contrast

On white

17.63
#1C1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1C1237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1237
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1237#FFFFFF#000000##FFFFFF
##1C12371.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#031836
Tritanopia (blue-blind)
#151A22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1c1237;
/* rgb */ color: rgb(28, 18, 55);
/* oklch */ color: oklch(21.9% 0.069 292.2);
Tailwind
colors: {
  custom: {
    50: '#5b506e',
    500: '#1c1237',
    950: '#000000',
  },
}
SCSS
$custom: #1c1237;
$custom-light: #5b506e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1237",
  "rgb": {
    "r": 28,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 256.216,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21889,
    "c": 0.06914,
    "h": 292.2
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#1C1237
secondary
#607035
accent
#DA4EB4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040207
muted
#79787A

Preview Lab

Preview with #1C1237

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

Preview Lab → · Contrast checker → · Palette generator →

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