#340F54#340F54

#340F54 es un color oscuro y moderadamente saturado de la familia violeta. Luminancia relativa 0.017; OKLCH L 27.2% C 0.117 H 303.8°. El mejor color de texto es #FFFFFF con contraste 15.64:1 (cumple WCAG AA).

Valores del color

HEX#340F54
RGBrgb(52, 15, 84)
HSLhsl(272, 70%, 19%)
HSVhsv(272, 82%, 33%)
CMYKcmyk(38.1%, 82.1%, 0%, 67.1%)
CIE-LABlab(13.90, 32.37, -34.09)
CIE-LCHlch(13.90, 47.01, 313.51°)
OKLaboklab(27.23% 0.065 -0.0972)
OKLCHoklch(27.23% 0.117 303.8)
XYZxyz(3.1869, 1.7118, 8.5483)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#340F54 #2F540F
analogous
#120F54 #340F54 #540F52
triadic
#340F54 #54340F #0F5434
tetradic
#340F54 #54120F #2F540F #0F5254
square
#340F54 #54120F #2F540F #0F5254
split-complementary
#340F54 #52540F #0F5412
monochromatic
#10051A #140620 #340F54 #541888 #7422BC

Accesibilidad y contraste

On white

15.64
#340F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#340F54 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #340F54
15.64:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##340F54#FFFFFF#000000##FFFFFF
##340F541.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#2E2131
Achromatopsia (no color)
#232323

Tokens de diseño y código

CSS
--color: #340f54;
/* rgb */ color: rgb(52, 15, 84);
/* oklch */ color: oklch(27.2% 0.117 303.8);
Tailwind
colors: {
  custom: {
    50: '#6f5285',
    500: '#340f54',
    950: '#000000',
  },
}
SCSS
$custom: #340f54;
$custom-light: #6f5285;
$custom-dark: #000000;
JSON
{
  "hex": "#340f54",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 272.174,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27232,
    "c": 0.11689,
    "h": 303.8
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#340F54
secondary
#5C8E31
accent
#ED3B8D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Laboratorio de vista previa

Vista previa con #340F54

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

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

#340F54 — Tintiva