#40284F#40284F

#40284F es un color oscuro y moderadamente saturado de la familia violeta. Luminancia relativa 0.032; OKLCH L 32.5% C 0.073 H 311.3°. El mejor color de texto es #FFFFFF con contraste 12.85:1 (cumple WCAG AA).

Valores del color

HEX#40284F
RGBrgb(64, 40, 79)
HSLhsl(277, 33%, 23%)
HSVhsv(277, 49%, 31%)
CMYKcmyk(19%, 49.4%, 0%, 69%)
CIE-LABlab(20.72, 19.66, -19.69)
CIE-LCHlch(20.72, 27.83, 314.96°)
OKLaboklab(32.46% 0.048 -0.0547)
OKLCHoklch(32.46% 0.073 311.3)
XYZxyz(4.2842, 3.1722, 7.7822)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#40284F #374F28
analogous
#2C284F #40284F #4F284A
triadic
#40284F #4F4028 #284F40
tetradic
#40284F #4F2C28 #374F28 #284A4F
square
#40284F #4F2C28 #374F28 #284A4F
split-complementary
#40284F #4A4F28 #284F2C
monochromatic
#100A14 #1F1326 #40284F #613D78 #8251A0

Accesibilidad y contraste

On white

12.85
#40284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#40284F on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #40284F
12.85:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##40284F#FFFFFF#000000##FFFFFF
##40284F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#26324E
Tritanopia (blue-blind)
#3E2E37
Achromatopsia (no color)
#323232

Tokens de diseño y código

CSS
--color: #40284f;
/* rgb */ color: rgb(64, 40, 79);
/* oklch */ color: oklch(32.5% 0.073 311.3);
Tailwind
colors: {
  custom: {
    50: '#766280',
    500: '#40284f',
    950: '#000000',
  },
}
SCSS
$custom: #40284f;
$custom-light: #766280;
$custom-dark: #000000;
JSON
{
  "hex": "#40284f",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 276.923,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3246,
    "c": 0.07281,
    "h": 311.3
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#40284F
secondary
#648251
accent
#C95F88
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Laboratorio de vista previa

Vista previa con #40284F

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

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

#40284F — Tintiva