#10052A#10052A

#10052A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.072 H 290.8°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#10052A
RGBrgb(16, 5, 42)
HSLhsl(258, 79%, 9%)
HSVhsv(258, 88%, 16%)
CMYKcmyk(61.9%, 88.1%, 0%, 83.5%)
CIE-LABlab(3.48, 13.07, -21.11)
CIE-LCHlch(3.48, 24.83, 301.76°)
OKLaboklab(16.49% 0.0255 -0.067)
OKLCHoklch(16.49% 0.072 290.8)
XYZxyz(0.6858, 0.3858, 2.2284)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10052A #1F2A05
analogous
#050D2A #10052A #23052A
triadic
#10052A #2A1005 #052A10
tetradic
#10052A #2A050D #1F2A05 #052A23
square
#10052A #2A050D #1F2A05 #052A23
split-complementary
#10052A #2A2305 #0D2A05
monochromatic
#0A031B #0A031B #10052A #250C61 #3A1297

Accessibility & contrast

On white

19.49
#10052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#10052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10052A
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10052A#FFFFFF#000000##FFFFFF
##10052A1.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#070E16
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #10052a;
/* rgb */ color: rgb(16, 5, 42);
/* oklch */ color: oklch(16.5% 0.072 290.8);
Tailwind
colors: {
  custom: {
    50: '#4f4864',
    500: '#10052a',
    950: '#000000',
  },
}
SCSS
$custom: #10052a;
$custom-light: #4f4864;
$custom-dark: #000000;
JSON
{
  "hex": "#10052a",
  "rgb": {
    "r": 16,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 257.838,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16494,
    "c": 0.07168,
    "h": 290.8
  },
  "luminance": 0.00386
}

Semantic roles & 50–950 ramp

primary
#10052A
secondary
#556C1F
accent
#F533BB
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #10052A

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

Preview Lab → · Contrast checker → · Palette generator →

#10052A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva