#1C0E4F#1C0E4F

#1C0E4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.110 H 283.9°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#1C0E4F
RGBrgb(28, 14, 79)
HSLhsl(253, 70%, 18%)
HSVhsv(253, 82%, 31%)
CMYKcmyk(64.6%, 82.3%, 0%, 69%)
CIE-LABlab(9.99, 27.06, -37.18)
CIE-LCHlch(9.99, 45.99, 306.05°)
OKLaboklab(23.61% 0.0266 -0.1071)
OKLCHoklch(23.61% 0.11 283.9)
XYZxyz(2.0468, 1.1253, 7.5050)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0E4F #414F0E
analogous
#0E204F #1C0E4F #3C0E4F
triadic
#1C0E4F #4F1C0E #0E4F1C
tetradic
#1C0E4F #4F0E20 #414F0E #0E4F3C
square
#1C0E4F #4F0E20 #414F0E #0E4F3C
split-complementary
#1C0E4F #4F3C0E #204F0E
monochromatic
#09051A #0A051B #1C0E4F #2E1783 #4120B7

Accessibility & contrast

On white

17.14
#1C0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1C0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0E4F
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0E4F#FFFFFF#000000##FFFFFF
##1C0E4F1.0017.141.2217.14
#FFFFFF17.141.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#01202E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c0e4f;
/* rgb */ color: rgb(28, 14, 79);
/* oklch */ color: oklch(23.6% 0.110 283.9);
Tailwind
colors: {
  custom: {
    50: '#604e81',
    500: '#1c0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1c0e4f;
$custom-light: #604e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0e4f",
  "rgb": {
    "r": 28,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 252.923,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2361,
    "c": 0.11039,
    "h": 283.9
  },
  "luminance": 0.01125
}

Semantic roles & 50–950 ramp

primary
#1C0E4F
secondary
#768A2F
accent
#ED3BC6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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