#1C0F4D#1C0F4D

#1C0F4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.106 H 284.3°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#1C0F4D
RGBrgb(28, 15, 77)
HSLhsl(253, 67%, 18%)
HSVhsv(253, 81%, 30%)
CMYKcmyk(63.6%, 80.5%, 0%, 69.8%)
CIE-LABlab(9.99, 25.77, -35.82)
CIE-LCHlch(9.99, 44.13, 305.74°)
OKLaboklab(23.54% 0.0263 -0.1032)
OKLCHoklch(23.54% 0.106 284.3)
XYZxyz(1.9889, 1.1242, 7.1319)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F4D #404D0F
analogous
#0F214D #1C0F4D #3B0F4D
triadic
#1C0F4D #4D1C0F #0F4D1C
tetradic
#1C0F4D #4D0F21 #404D0F #0F4D3B
square
#1C0F4D #4D0F21 #404D0F #0F4D3B
split-complementary
#1C0F4D #4D3B0F #214D0F
monochromatic
#09051A #09051A #1C0F4D #2F1980 #4123B3

Accessibility & contrast

On white

17.15
#1C0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C0F4D
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F4D#FFFFFF#000000##FFFFFF
##1C0F4D1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#03202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1c0f4d;
/* rgb */ color: rgb(28, 15, 77);
/* oklch */ color: oklch(23.5% 0.106 284.3);
Tailwind
colors: {
  custom: {
    50: '#5f4f7f',
    500: '#1c0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f4d;
$custom-light: #5f4f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f4d",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 252.581,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23537,
    "c": 0.10645,
    "h": 284.3
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#1C0F4D
secondary
#758731
accent
#EA3EC6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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