#1C0F53#1C0F53

#1C0F53 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.115 H 282.4°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#1C0F53
RGBrgb(28, 15, 83)
HSLhsl(251, 69%, 19%)
HSVhsv(251, 82%, 33%)
CMYKcmyk(66.3%, 81.9%, 0%, 67.5%)
CIE-LABlab(10.65, 27.84, -38.85)
CIE-LCHlch(10.65, 47.80, 305.63°)
OKLaboklab(24.21% 0.0246 -0.112)
OKLCHoklch(24.21% 0.115 282.4)
XYZxyz(2.2106, 1.2129, 8.2996)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0F53 #46530F
analogous
#0F2453 #1C0F53 #3E0F53
triadic
#1C0F53 #531C0F #0F531C
tetradic
#1C0F53 #530F24 #46530F #0F533E
square
#1C0F53 #530F24 #46530F #0F533E
split-complementary
#1C0F53 #533E0F #24530F
monochromatic
#09051A #0B061F #1C0F53 #2D1887 #3F22BB

Accessibility & contrast

On white

16.90
#1C0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1C0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0F53
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0F53#FFFFFF#000000##FFFFFF
##1C0F531.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001A52
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1c0f53;
/* rgb */ color: rgb(28, 15, 83);
/* oklch */ color: oklch(24.2% 0.115 282.4);
Tailwind
colors: {
  custom: {
    50: '#614f84',
    500: '#1c0f53',
    950: '#000000',
  },
}
SCSS
$custom: #1c0f53;
$custom-light: #614f84;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0f53",
  "rgb": {
    "r": 28,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 251.471,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24208,
    "c": 0.11469,
    "h": 282.4
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#1C0F53
secondary
#7B8D31
accent
#EC3CCA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1C0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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