#331F9C#331F9C

#331F9C es un color oscuro y vivo de la familia azul. Luminancia relativa 0.041; OKLCH L 36.5% C 0.187 H 279.0°. El mejor color de texto es #FFFFFF con contraste 11.56:1 (cumple WCAG AA).

Valores del color

HEX#331F9C
RGBrgb(51, 31, 156)
HSLhsl(250, 67%, 37%)
HSVhsv(250, 80%, 61%)
CMYKcmyk(67.3%, 80.1%, 0%, 38.8%)
CIE-LABlab(23.95, 45.60, -63.85)
CIE-LCHlch(23.95, 78.47, 305.54°)
OKLaboklab(36.47% 0.0293 -0.1844)
OKLCHoklch(36.47% 0.187 279)
XYZxyz(7.8541, 4.0834, 31.8203)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#331F9C #889C1F
analogous
#1F4A9C #331F9C #721F9C
triadic
#331F9C #9C331F #1F9C33
tetradic
#331F9C #9C1F4A #889C1F #1F9C72
square
#331F9C #9C1F4A #889C1F #1F9C72
split-complementary
#331F9C #9C721F #4A9C1F
monochromatic
#120B36 #221569 #331F9C #4429CF #6D58DE

Accesibilidad y contraste

On white

11.56
#331F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#331F9C on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #331F9C
11.56:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##331F9C#FFFFFF#000000##FFFFFF
##331F9C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Tokens de diseño y código

CSS
--color: #331f9c;
/* rgb */ color: rgb(51, 31, 156);
/* oklch */ color: oklch(36.5% 0.187 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a5fba',
    500: '#331f9c',
    950: '#000000',
  },
}
SCSS
$custom: #331f9c;
$custom-light: #7a5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#331f9c",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 249.6,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36468,
    "c": 0.18671,
    "h": 279
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#331F9C
secondary
#B0C155
accent
#EA3ECE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Laboratorio de vista previa

Vista previa con #331F9C

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

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

#331F9C — Tintiva