#1C032F#1C032F

#1C032F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.084 H 306.0°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#1C032F
RGBrgb(28, 3, 47)
HSLhsl(274, 88%, 10%)
HSVhsv(274, 94%, 18%)
CMYKcmyk(40.4%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.67, 21.34, -22.93)
CIE-LCHlch(4.67, 31.32, 312.95°)
OKLaboklab(18.39% 0.0497 -0.0683)
OKLCHoklch(18.39% 0.084 306)
XYZxyz(1.0244, 0.5172, 2.7346)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C032F #162F03
analogous
#06032F #1C032F #2F032C
triadic
#1C032F #2F1C03 #032F1C
tetradic
#1C032F #2F0603 #162F03 #032C2F
square
#1C032F #2F0603 #162F03 #032C2F
split-complementary
#1C032F #2C2F03 #032F06
monochromatic
#11021D #11021D #1C032F #3E0769 #610AA2

Accessibility & contrast

On white

19.03
#1C032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C032F
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C032F#FFFFFF#000000##FFFFFF
##1C032F1.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#190D18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1c032f;
/* rgb */ color: rgb(28, 3, 47);
/* oklch */ color: oklch(18.4% 0.084 306.0);
Tailwind
colors: {
  custom: {
    50: '#5a4768',
    500: '#1c032f',
    950: '#000000',
  },
}
SCSS
$custom: #1c032f;
$custom-light: #5a4768;
$custom-dark: #000000;
JSON
{
  "hex": "#1c032f",
  "rgb": {
    "r": 28,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 274.091,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18393,
    "c": 0.08448,
    "h": 306
  },
  "luminance": 0.00517
}

Semantic roles & 50–950 ramp

primary
#1C032F
secondary
#41731B
accent
#FE2A85
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1C032F

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

Preview Lab → · Contrast checker → · Palette generator →

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