#1A0C57#1A0C57

#1A0C57 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.1% C 0.124 H 280.3°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#1A0C57
RGBrgb(26, 12, 87)
HSLhsl(251, 76%, 19%)
HSVhsv(251, 86%, 34%)
CMYKcmyk(70.1%, 86.2%, 0%, 65.9%)
CIE-LABlab(10.34, 30.62, -42.10)
CIE-LCHlch(10.34, 52.06, 306.03°)
OKLaboklab(24.08% 0.022 -0.1215)
OKLCHoklch(24.08% 0.124 280.3)
XYZxyz(2.2772, 1.1705, 9.1209)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0C57 #49570C
analogous
#0C2457 #1A0C57 #400C57
triadic
#1A0C57 #571A0C #0C571A
tetradic
#1A0C57 #570C24 #49570C #0C5740
square
#1A0C57 #570C24 #49570C #0C5740
split-complementary
#1A0C57 #57400C #24570C
monochromatic
#08041B #0A0521 #1A0C57 #2A138D #3A1BC3

Accessibility & contrast

On white

17.02
#1A0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0C57
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0C57#FFFFFF#000000##FFFFFF
##1A0C571.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001956
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0c57;
/* rgb */ color: rgb(26, 12, 87);
/* oklch */ color: oklch(24.1% 0.124 280.3);
Tailwind
colors: {
  custom: {
    50: '#614d87',
    500: '#1a0c57',
    950: '#000000',
  },
}
SCSS
$custom: #1a0c57;
$custom-light: #614d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0c57",
  "rgb": {
    "r": 26,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 251.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24079,
    "c": 0.12351,
    "h": 280.3
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#1A0C57
secondary
#7F922D
accent
#F235CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1A0C57

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

Preview Lab → · Contrast checker → · Palette generator →

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