#301F45#301F45

#301F45 es un color oscuro y moderadamente saturado de la familia violeta. Luminancia relativa 0.020; OKLCH L 28.0% C 0.070 H 302.8°. El mejor color de texto es #FFFFFF con contraste 14.92:1 (cumple WCAG AA).

Valores del color

HEX#301F45
RGBrgb(48, 31, 69)
HSLhsl(267, 38%, 20%)
HSVhsv(267, 55%, 27%)
CMYKcmyk(30.4%, 55.1%, 0%, 72.9%)
CIE-LABlab(15.69, 17.53, -20.95)
CIE-LCHlch(15.69, 27.32, 309.93°)
OKLaboklab(28.04% 0.0379 -0.0588)
OKLCHoklch(28.04% 0.07 302.8)
XYZxyz(2.7829, 2.0380, 5.8758)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#301F45 #34451F
analogous
#1F2145 #301F45 #431F45
triadic
#301F45 #45301F #1F4530
tetradic
#301F45 #451F21 #34451F #1F4543
square
#301F45 #451F21 #34451F #1F4543
split-complementary
#301F45 #45431F #21451F
monochromatic
#0F0915 #130C1B #301F45 #4D326F #6B4599

Accesibilidad y contraste

On white

14.92
#301F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#301F45 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #301F45
14.92:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##301F45#FFFFFF#000000##FFFFFF
##301F451.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#132746
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#2C262E
Achromatopsia (no color)
#272727

Tokens de diseño y código

CSS
--color: #301f45;
/* rgb */ color: rgb(48, 31, 69);
/* oklch */ color: oklch(28.0% 0.070 302.8);
Tailwind
colors: {
  custom: {
    50: '#6a5b79',
    500: '#301f45',
    950: '#000000',
  },
}
SCSS
$custom: #301f45;
$custom-light: #6a5b79;
$custom-dark: #000000;
JSON
{
  "hex": "#301f45",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 266.842,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.06997,
    "h": 302.8
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#301F45
secondary
#637946
accent
#CE5A9A
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Laboratorio de vista previa

Vista previa con #301F45

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

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

#301F45 — Tintiva