#402F89#402F89

#402F89 es un color oscuro y vivo de la familia violeta. Luminancia relativa 0.049; OKLCH L 38.0% C 0.143 H 286.1°. El mejor color de texto es #FFFFFF con contraste 10.58:1 (cumple WCAG AA).

Valores del color

HEX#402F89
RGBrgb(64, 47, 137)
HSLhsl(251, 49%, 36%)
HSVhsv(251, 66%, 54%)
CMYKcmyk(53.3%, 65.7%, 0%, 46.3%)
CIE-LABlab(26.53, 32.51, -47.84)
CIE-LCHlch(26.53, 57.84, 304.20°)
OKLaboklab(38.05% 0.0396 -0.1372)
OKLCHoklch(38.05% 0.143 286.1)
XYZxyz(7.6449, 4.9288, 24.2106)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#402F89 #78892F
analogous
#2F4B89 #402F89 #6D2F89
triadic
#402F89 #89402F #2F8940
tetradic
#402F89 #892F4B #78892F #2F896D
square
#402F89 #892F4B #78892F #2F896D
split-complementary
#402F89 #896D2F #4B892F
monochromatic
#15102E #2B1F5B #402F89 #553FB7 #7A67CB

Accesibilidad y contraste

On white

10.58
#402F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#402F89 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #402F89
10.58:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##402F89#FFFFFF#000000##FFFFFF
##402F891.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#244557
Achromatopsia (no color)
#3F3F3F

Tokens de diseño y código

CSS
--color: #402f89;
/* rgb */ color: rgb(64, 47, 137);
/* oklch */ color: oklch(38.0% 0.143 286.1);
Tailwind
colors: {
  custom: {
    50: '#7c68ac',
    500: '#402f89',
    950: '#000000',
  },
}
SCSS
$custom: #402f89;
$custom-light: #7c68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#402f89",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 251.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38045,
    "c": 0.14282,
    "h": 286.1
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#402F89
secondary
#A3B262
accent
#D84FBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Laboratorio de vista previa

Vista previa con #402F89

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

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

#402F89 — Tintiva