#1C063D#1C063D

#1C063D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.096 H 294.6°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#1C063D
RGBrgb(28, 6, 61)
HSLhsl(264, 82%, 13%)
HSVhsv(264, 90%, 24%)
CMYKcmyk(54.1%, 90.2%, 0%, 76.1%)
CIE-LABlab(6.45, 25.39, -30.33)
CIE-LCHlch(6.45, 39.56, 309.93°)
OKLaboklab(20.44% 0.04 -0.0876)
OKLCHoklch(20.44% 0.096 294.6)
XYZxyz(1.3861, 0.7140, 4.4788)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C063D #273D06
analogous
#060B3D #1C063D #37063D
triadic
#1C063D #3D1C06 #063D1C
tetradic
#1C063D #3D060B #273D06 #063D37
square
#1C063D #3D060B #273D06 #063D37
split-complementary
#1C063D #3D3706 #0B3D06
monochromatic
#0D031C #0D031C #1C063D #360B75 #4F11AC

Accessibility & contrast

On white

18.38
#1C063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C063D
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C063D#FFFFFF#000000##FFFFFF
##1C063D1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#121521
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c063d;
/* rgb */ color: rgb(28, 6, 61);
/* oklch */ color: oklch(20.4% 0.096 294.6);
Tailwind
colors: {
  custom: {
    50: '#5d4973',
    500: '#1c063d',
    950: '#000000',
  },
}
SCSS
$custom: #1c063d;
$custom-light: #5d4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1c063d",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 264,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2044,
    "c": 0.09629,
    "h": 294.6
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#1C063D
secondary
#597D22
accent
#F82FA8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1C063D

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

Preview Lab → · Contrast checker → · Palette generator →

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