#340F56#340F56

#340F56 es un color oscuro y moderadamente saturado de la familia violeta. Luminancia relativa 0.017; OKLCH L 27.4% C 0.119 H 302.7°. El mejor color de texto es #FFFFFF con contraste 15.57:1 (cumple WCAG AA).

Valores del color

HEX#340F56
RGBrgb(52, 15, 86)
HSLhsl(271, 70%, 20%)
HSVhsv(271, 83%, 34%)
CMYKcmyk(39.5%, 82.6%, 0%, 66.3%)
CIE-LABlab(14.08, 32.90, -35.15)
CIE-LCHlch(14.08, 48.15, 313.11°)
OKLaboklab(27.42% 0.0644 -0.1003)
OKLCHoklch(27.42% 0.119 302.7)
XYZxyz(3.2663, 1.7436, 8.9668)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#340F56 #31560F
analogous
#110F56 #340F56 #560F54
triadic
#340F56 #56340F #0F5634
tetradic
#340F56 #56110F #31560F #0F5456
square
#340F56 #56110F #31560F #0F5456
split-complementary
#340F56 #54560F #0F5611
monochromatic
#10051A #140622 #340F56 #54188A #7321BE

Accesibilidad y contraste

On white

15.57
#340F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Mejor color de texto

#FFFFFF on #340F56
15.57:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##340F56#FFFFFF#000000##FFFFFF
##340F561.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#2D2132
Achromatopsia (no color)
#242424

Tokens de diseño y código

CSS
--color: #340f56;
/* rgb */ color: rgb(52, 15, 86);
/* oklch */ color: oklch(27.4% 0.119 302.7);
Tailwind
colors: {
  custom: {
    50: '#705286',
    500: '#340f56',
    950: '#000000',
  },
}
SCSS
$custom: #340f56;
$custom-light: #705286;
$custom-dark: #000000;
JSON
{
  "hex": "#340f56",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 271.268,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27419,
    "c": 0.11919,
    "h": 302.7
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#340F56
secondary
#5E9031
accent
#ED3B90
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Laboratorio de vista previa

Vista previa con #340F56

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

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

#340F56 — Tintiva