#1C0F4E#1C0F4E

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

Color values

HEX#1C0F4E
RGBrgb(28, 15, 78)
HSLhsl(252, 68%, 18%)
HSVhsv(252, 81%, 31%)
CMYKcmyk(64.1%, 80.8%, 0%, 69.4%)
CIE-LABlab(10.10, 26.12, -36.33)
CIE-LCHlch(10.10, 44.74, 305.71°)
OKLaboklab(23.65% 0.026 -0.1046)
OKLCHoklch(23.65% 0.108 284)
XYZxyz(2.0244, 1.1385, 7.3193)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F4E #414E0F
analogous
#0F214E #1C0F4E #3B0F4E
triadic
#1C0F4E #4E1C0F #0F4E1C
tetradic
#1C0F4E #4E0F21 #414E0F #0F4E3B
square
#1C0F4E #4E0F21 #414E0F #0F4E3B
split-complementary
#1C0F4E #4E3B0F #214E0F
monochromatic
#09051A #0A051B #1C0F4E #2E1981 #4123B5

Accessibility & contrast

On white

17.10
#1C0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1C0F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F4E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F4E#FFFFFF#000000##FFFFFF
##1C0F4E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#02202D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1c0f4e;
/* rgb */ color: rgb(28, 15, 78);
/* oklch */ color: oklch(23.6% 0.108 284.0);
Tailwind
colors: {
  custom: {
    50: '#604f80',
    500: '#1c0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f4e;
$custom-light: #604f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f4e",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 252.381,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23647,
    "c": 0.10783,
    "h": 284
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#1C0F4E
secondary
#768831
accent
#EB3DC7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1C0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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