#1C063F#1C063F

#1C063F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.099 H 293.4°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#1C063F
RGBrgb(28, 6, 63)
HSLhsl(263, 83%, 14%)
HSVhsv(263, 90%, 25%)
CMYKcmyk(55.6%, 90.5%, 0%, 75.3%)
CIE-LABlab(6.65, 26.13, -31.44)
CIE-LCHlch(6.65, 40.88, 309.72°)
OKLaboklab(20.67% 0.0392 -0.0907)
OKLCHoklch(20.67% 0.099 293.4)
XYZxyz(1.4410, 0.7360, 4.7678)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C063F #293F06
analogous
#060C3F #1C063F #38063F
triadic
#1C063F #3F1C06 #063F1C
tetradic
#1C063F #3F060C #293F06 #063F38
square
#1C063F #3F060C #293F06 #063F38
split-complementary
#1C063F #3F3806 #0C3F06
monochromatic
#0C031C #0C031C #1C063F #350B77 #4E11AF

Accessibility & contrast

On white

18.31
#1C063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C063F
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C063F#FFFFFF#000000##FFFFFF
##1C063F1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c063f;
/* rgb */ color: rgb(28, 6, 63);
/* oklch */ color: oklch(20.7% 0.099 293.4);
Tailwind
colors: {
  custom: {
    50: '#5d4975',
    500: '#1c063f',
    950: '#000000',
  },
}
SCSS
$custom: #1c063f;
$custom-light: #5d4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1c063f",
  "rgb": {
    "r": 28,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 263.158,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20666,
    "c": 0.09882,
    "h": 293.4
  },
  "luminance": 0.00736
}

Semantic roles & 50–950 ramp

primary
#1C063F
secondary
#5B7F22
accent
#F92FAB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1C063F

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

Preview Lab → · Contrast checker → · Palette generator →

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