#331F97#331F97

#331F97 es un color oscuro y vivo de la familia violeta. Luminancia relativa 0.039; OKLCH L 35.9% C 0.181 H 279.8°. El mejor color de texto es #FFFFFF con contraste 11.77:1 (cumple WCAG AA).

Valores del color

HEX#331F97
RGBrgb(51, 31, 151)
HSLhsl(250, 66%, 36%)
HSVhsv(250, 79%, 59%)
CMYKcmyk(66.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(23.40, 44.07, -61.69)
CIE-LCHlch(23.40, 75.81, 305.54°)
OKLaboklab(35.92% 0.0307 -0.1781)
OKLCHoklch(35.92% 0.181 279.8)
XYZxyz(7.4394, 3.9175, 29.6363)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#331F97 #83971F
analogous
#1F4797 #331F97 #6F1F97
triadic
#331F97 #97331F #1F9733
tetradic
#331F97 #971F47 #83971F #1F976F
square
#331F97 #971F47 #83971F #1F976F
split-complementary
#331F97 #976F1F #47971F
monochromatic
#110A31 #221564 #331F97 #4429CA #6B54DC

Accesibilidad y contraste

On white

11.77
#331F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#331F97 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #331F97
11.77:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##331F97#FFFFFF#000000##FFFFFF
##331F971.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#383838

Tokens de diseño y código

CSS
--color: #331f97;
/* rgb */ color: rgb(51, 31, 151);
/* oklch */ color: oklch(35.9% 0.181 279.8);
Tailwind
colors: {
  custom: {
    50: '#795eb7',
    500: '#331f97',
    950: '#000000',
  },
}
SCSS
$custom: #331f97;
$custom-light: #795eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#331f97",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 250,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.18073,
    "h": 279.8
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#331F97
secondary
#ADBF52
accent
#E93FCD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Laboratorio de vista previa

Vista previa con #331F97

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

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

#331F97 — Tintiva