#512ABA#512ABA

#512ABA es un color oscuro y muy saturado de la familia violeta. Luminancia relativa 0.070; OKLCH L 43.5% C 0.207 H 286.5°. El mejor color de texto es #FFFFFF con contraste 8.79:1 (cumple WCAG AA).

Valores del color

HEX#512ABA
RGBrgb(81, 42, 186)
HSLhsl(256, 63%, 45%)
HSVhsv(256, 77%, 73%)
CMYKcmyk(56.5%, 77.4%, 0%, 27.1%)
CIE-LABlab(31.69, 52.58, -69.03)
CIE-LCHlch(31.69, 86.77, 307.30°)
OKLaboklab(43.48% 0.0589 -0.1987)
OKLCHoklch(43.48% 0.207 286.5)
XYZxyz(13.0816, 6.9497, 47.0970)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#512ABA #93BA2A
analogous
#2A4BBA #512ABA #992ABA
triadic
#512ABA #BA512A #2ABA51
tetradic
#512ABA #BA2A4B #93BA2A #2ABA99
square
#512ABA #BA2A4B #93BA2A #2ABA99
split-complementary
#512ABA #BA992A #4BBA2A
monochromatic
#261356 #3B1F88 #512ABA #714BD6 #987DE2

Accesibilidad y contraste

On white

8.79
#512ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#512ABA on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #512ABA
8.79:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##512ABA#FFFFFF#000000##FFFFFF
##512ABA1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#1F5471
Achromatopsia (no color)
#4B4B4B

Tokens de diseño y código

CSS
--color: #512aba;
/* rgb */ color: rgb(81, 42, 186);
/* oklch */ color: oklch(43.5% 0.207 286.5);
Tailwind
colors: {
  custom: {
    50: '#8e69d0',
    500: '#512aba',
    950: '#000000',
  },
}
SCSS
$custom: #512aba;
$custom-light: #8e69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#512aba",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 256.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.20727,
    "h": 286.5
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#512ABA
secondary
#B3CA76
accent
#E642BA
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Laboratorio de vista previa

Vista previa con #512ABA

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

Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →

#512ABA — Tintiva