#340F55#340F55

#340F55 es un color oscuro y moderadamente saturado de la familia violeta. Luminancia relativa 0.017; OKLCH L 27.3% C 0.118 H 303.2°. El mejor color de texto es #FFFFFF con contraste 15.61:1 (cumple WCAG AA).

Valores del color

HEX#340F55
RGBrgb(52, 15, 85)
HSLhsl(272, 70%, 20%)
HSVhsv(272, 82%, 33%)
CMYKcmyk(38.8%, 82.4%, 0%, 66.7%)
CIE-LABlab(13.99, 32.64, -34.62)
CIE-LCHlch(13.99, 47.58, 313.31°)
OKLaboklab(27.33% 0.0647 -0.0987)
OKLCHoklch(27.33% 0.118 303.2)
XYZxyz(3.2263, 1.7276, 8.7561)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#340F55 #30550F
analogous
#110F55 #340F55 #550F53
triadic
#340F55 #55340F #0F5534
tetradic
#340F55 #55110F #30550F #0F5355
square
#340F55 #55110F #30550F #0F5355
split-complementary
#340F55 #53550F #0F5511
monochromatic
#10051A #140621 #340F55 #541889 #7421BD

Accesibilidad y contraste

On white

15.61
#340F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#340F55 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #340F55
15.61:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##340F55#FFFFFF#000000##FFFFFF
##340F551.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#2D2131
Achromatopsia (no color)
#242424

Tokens de diseño y código

CSS
--color: #340f55;
/* rgb */ color: rgb(52, 15, 85);
/* oklch */ color: oklch(27.3% 0.118 303.2);
Tailwind
colors: {
  custom: {
    50: '#6f5285',
    500: '#340f55',
    950: '#000000',
  },
}
SCSS
$custom: #340f55;
$custom-light: #6f5285;
$custom-dark: #000000;
JSON
{
  "hex": "#340f55",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 271.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27325,
    "c": 0.11804,
    "h": 303.2
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#340F55
secondary
#5D8F31
accent
#ED3B8F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Laboratorio de vista previa

Vista previa con #340F55

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

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

#340F55 — Tintiva