#1C0F58#1C0F58

#1C0F58 is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.8% C 0.121 H 281.0°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#1C0F58
RGBrgb(28, 15, 88)
HSLhsl(251, 71%, 20%)
HSVhsv(251, 83%, 35%)
CMYKcmyk(68.2%, 83%, 0%, 65.5%)
CIE-LABlab(11.23, 29.55, -41.31)
CIE-LCHlch(11.23, 50.79, 305.58°)
OKLaboklab(24.78% 0.0231 -0.1192)
OKLCHoklch(24.78% 0.121 281)
XYZxyz(2.4106, 1.2929, 9.3532)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F58 #4B580F
analogous
#0F2658 #1C0F58 #400F58
triadic
#1C0F58 #581C0F #0F581C
tetradic
#1C0F58 #580F26 #4B580F #0F5840
square
#1C0F58 #580F26 #4B580F #0F5840
split-complementary
#1C0F58 #58400F #26580F
monochromatic
#08041A #0B0624 #1C0F58 #2D188C #3D21C1

Accessibility & contrast

On white

16.69
#1C0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1C0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F58
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F58#FFFFFF#000000##FFFFFF
##1C0F581.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c0f58;
/* rgb */ color: rgb(28, 15, 88);
/* oklch */ color: oklch(24.8% 0.121 281.0);
Tailwind
colors: {
  custom: {
    50: '#624f88',
    500: '#1c0f58',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f58;
$custom-light: #624f88;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f58",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 250.685,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24782,
    "c": 0.12141,
    "h": 281
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#1C0F58
secondary
#819231
accent
#EE3ACE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1C0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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