#512469#512469

#512469 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.120 H 311.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#512469
RGBrgb(81, 36, 105)
HSLhsl(279, 49%, 28%)
HSVhsv(279, 66%, 41%)
CMYKcmyk(22.9%, 65.7%, 0%, 58.8%)
CIE-LABlab(23.77, 33.80, -31.87)
CIE-LCHlch(23.77, 46.45, 316.68°)
OKLaboklab(35.74% 0.0805 -0.0897)
OKLCHoklch(35.74% 0.12 311.9)
XYZxyz(6.5736, 4.0312, 13.7937)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512469 #3C6924
analogous
#2E2469 #512469 #69245F
triadic
#512469 #695124 #246951
tetradic
#512469 #692E24 #3C6924 #245F69
square
#512469 #692E24 #3C6924 #245F69
split-complementary
#512469 #5F6924 #24692E
monochromatic
#120817 #2E143B #512469 #743497 #9647C0

Accessibility & contrast

On white

11.63
#512469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#512469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512469
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512469#FFFFFF#000000##FFFFFF
##5124691.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366B
Deuteranopia (green-blind)
#1E3967
Tritanopia (blue-blind)
#4E3143
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #512469;
/* rgb */ color: rgb(81, 36, 105);
/* oklch */ color: oklch(35.7% 0.120 311.9);
Tailwind
colors: {
  custom: {
    50: '#846294',
    500: '#512469',
    950: '#000000',
  },
}
SCSS
$custom: #512469;
$custom-light: #846294;
$custom-dark: #000000;
JSON
{
  "hex": "#512469",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 105
  },
  "hsl": {
    "h": 279.13,
    "s": 48.936,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.12049,
    "h": 311.9
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#512469
secondary
#689C4D
accent
#D84F7F
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #512469

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

Preview Lab → · Contrast checker → · Palette generator →

#512469 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva