#402F80#402F80

#402F80 es un color oscuro y vivo de la familia violeta. Luminancia relativa 0.047; OKLCH L 37.3% C 0.131 H 288.0°. El mejor color de texto es #FFFFFF con contraste 10.84:1 (cumple WCAG AA).

Valores del color

HEX#402F80
RGBrgb(64, 47, 128)
HSLhsl(253, 46%, 34%)
HSVhsv(253, 63%, 50%)
CMYKcmyk(50%, 63.3%, 0%, 49.8%)
CIE-LABlab(25.81, 29.64, -43.38)
CIE-LCHlch(25.81, 52.54, 304.34°)
OKLaboklab(37.29% 0.0404 -0.1241)
OKLCHoklch(37.29% 0.131 288)
XYZxyz(7.0260, 4.6812, 20.9513)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#402F80 #6F802F
analogous
#2F4680 #402F80 #692F80
triadic
#402F80 #80402F #2F8040
tetradic
#402F80 #802F46 #6F802F #2F8069
square
#402F80 #802F46 #6F802F #2F8069
split-complementary
#402F80 #80692F #46802F
monochromatic
#130E26 #2A1F53 #402F80 #563FAD #7863C6

Accesibilidad y contraste

On white

10.84
#402F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#402F80 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #402F80
10.84:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##402F80#FFFFFF#000000##FFFFFF
##402F801.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#2A4253
Achromatopsia (no color)
#3D3D3D

Tokens de diseño y código

CSS
--color: #402f80;
/* rgb */ color: rgb(64, 47, 128);
/* oklch */ color: oklch(37.3% 0.131 288.0);
Tailwind
colors: {
  custom: {
    50: '#7b68a5',
    500: '#402f80',
    950: '#000000',
  },
}
SCSS
$custom: #402f80;
$custom-light: #7b68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#402f80",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 252.593,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3729,
    "c": 0.13051,
    "h": 288
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#402F80
secondary
#9CAD5E
accent
#D652BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Laboratorio de vista previa

Vista previa con #402F80

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

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

#402F80 — Tintiva