#1C063A#1C063A

#1C063A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.092 H 296.4°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#1C063A
RGBrgb(28, 6, 58)
HSLhsl(265, 81%, 13%)
HSVhsv(265, 90%, 23%)
CMYKcmyk(51.7%, 89.7%, 0%, 77.3%)
CIE-LABlab(6.17, 24.26, -28.63)
CIE-LCHlch(6.17, 37.52, 310.28°)
OKLaboklab(20.11% 0.0411 -0.0828)
OKLCHoklch(20.11% 0.092 296.4)
XYZxyz(1.3075, 0.6826, 4.0650)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C063A #243A06
analogous
#060A3A #1C063A #36063A
triadic
#1C063A #3A1C06 #063A1C
tetradic
#1C063A #3A060A #243A06 #063A36
square
#1C063A #3A060A #243A06 #063A36
split-complementary
#1C063A #3A3606 #0A3A06
monochromatic
#0D031C #0D031C #1C063A #370C71 #5211A9

Accessibility & contrast

On white

18.48
#1C063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C063A
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C063A#FFFFFF#000000##FFFFFF
##1C063A1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#141420
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c063a;
/* rgb */ color: rgb(28, 6, 58);
/* oklch */ color: oklch(20.1% 0.092 296.4);
Tailwind
colors: {
  custom: {
    50: '#5c4971',
    500: '#1c063a',
    950: '#000000',
  },
}
SCSS
$custom: #1c063a;
$custom-light: #5c4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1c063a",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 265.385,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20107,
    "c": 0.09248,
    "h": 296.4
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#1C063A
secondary
#557A22
accent
#F830A3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1C063A

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

Preview Lab → · Contrast checker → · Palette generator →

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