#1C053F#1C053F

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

Color values

HEX#1C053F
RGBrgb(28, 5, 63)
HSLhsl(264, 85%, 13%)
HSVhsv(264, 92%, 25%)
CMYKcmyk(55.6%, 92.1%, 0%, 75.3%)
CIE-LABlab(6.45, 26.66, -31.77)
CIE-LCHlch(6.45, 41.47, 310.01°)
OKLaboklab(20.51% 0.0404 -0.0917)
OKLCHoklch(20.51% 0.1 293.7)
XYZxyz(1.4301, 0.7143, 4.7642)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C053F #283F05
analogous
#050B3F #1C053F #39053F
triadic
#1C053F #3F1C05 #053F1C
tetradic
#1C053F #3F050B #283F05 #053F39
square
#1C053F #3F050B #283F05 #053F39
split-complementary
#1C053F #3F3905 #0B3F05
monochromatic
#0D021C #0D021C #1C053F #350978 #4E0EB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C053F#FFFFFF#000000##FFFFFF
##1C053F1.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)
#001541
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#111622
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c053f;
/* rgb */ color: rgb(28, 5, 63);
/* oklch */ color: oklch(20.5% 0.100 293.7);
Tailwind
colors: {
  custom: {
    50: '#5d4875',
    500: '#1c053f',
    950: '#000000',
  },
}
SCSS
$custom: #1c053f;
$custom-light: #5d4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1c053f",
  "rgb": {
    "r": 28,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 263.793,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20511,
    "c": 0.10024,
    "h": 293.7
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#1C053F
secondary
#5A8020
accent
#FC2CA9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1C053F

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

Preview Lab → · Contrast checker → · Palette generator →

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