#1C073F#1C073F

#1C073F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.097 H 293.0°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#1C073F
RGBrgb(28, 7, 63)
HSLhsl(263, 80%, 14%)
HSVhsv(263, 89%, 25%)
CMYKcmyk(55.6%, 88.9%, 0%, 75.3%)
CIE-LABlab(6.84, 25.59, -31.12)
CIE-LCHlch(6.84, 40.30, 309.43°)
OKLaboklab(20.82% 0.0381 -0.0896)
OKLCHoklch(20.82% 0.097 293)
XYZxyz(1.4518, 0.7577, 4.7714)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C073F #2A3F07
analogous
#070E3F #1C073F #38073F
triadic
#1C073F #3F1C07 #073F1C
tetradic
#1C073F #3F070E #2A3F07 #073F38
square
#1C073F #3F070E #2A3F07 #073F38
split-complementary
#1C073F #3F3807 #0E3F07
monochromatic
#0C031C #0C031C #1C073F #340D76 #4D13AD

Accessibility & contrast

On white

18.24
#1C073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1C073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C073F
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C073F#FFFFFF#000000##FFFFFF
##1C073F1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#111723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1c073f;
/* rgb */ color: rgb(28, 7, 63);
/* oklch */ color: oklch(20.8% 0.097 293.0);
Tailwind
colors: {
  custom: {
    50: '#5d4975',
    500: '#1c073f',
    950: '#000000',
  },
}
SCSS
$custom: #1c073f;
$custom-light: #5d4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1c073f",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 262.5,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20818,
    "c": 0.09743,
    "h": 293
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#1C073F
secondary
#5C7E24
accent
#F631AD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1C073F

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

Preview Lab → · Contrast checker → · Palette generator →

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