#1C083F#1C083F

#1C083F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.096 H 292.7°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#1C083F
RGBrgb(28, 8, 63)
HSLhsl(262, 77%, 14%)
HSVhsv(262, 87%, 25%)
CMYKcmyk(55.6%, 87.3%, 0%, 75.3%)
CIE-LABlab(7.04, 25.06, -30.80)
CIE-LCHlch(7.04, 39.71, 309.13°)
OKLaboklab(20.97% 0.0371 -0.0886)
OKLCHoklch(20.97% 0.096 292.7)
XYZxyz(1.4627, 0.7794, 4.7750)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C083F #2B3F08
analogous
#08103F #1C083F #38083F
triadic
#1C083F #3F1C08 #083F1C
tetradic
#1C083F #3F0810 #2B3F08 #083F38
square
#1C083F #3F0810 #2B3F08 #083F38
split-complementary
#1C083F #3F3808 #103F08
monochromatic
#0C031B #0C031B #1C083F #340F75 #4C16AC

Accessibility & contrast

On white

18.17
#1C083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1C083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C083F
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C083F#FFFFFF#000000##FFFFFF
##1C083F1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c083f;
/* rgb */ color: rgb(28, 8, 63);
/* oklch */ color: oklch(21.0% 0.096 292.7);
Tailwind
colors: {
  custom: {
    50: '#5d4a75',
    500: '#1c083f',
    950: '#000000',
  },
}
SCSS
$custom: #1c083f;
$custom-light: #5d4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1c083f",
  "rgb": {
    "r": 28,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 261.818,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20969,
    "c": 0.09607,
    "h": 292.7
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#1C083F
secondary
#5D7E25
accent
#F434AE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1C083F

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

Preview Lab → · Contrast checker → · Palette generator →

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