#28186F#28186F

#28186F es un color oscuro y vivo de la familia violeta. Luminancia relativa 0.023; OKLCH L 29.7% C 0.140 H 282.2°. El mejor color de texto es #FFFFFF con contraste 14.48:1 (cumple WCAG AA).

Valores del color

HEX#28186F
RGBrgb(40, 24, 111)
HSLhsl(251, 64%, 26%)
HSVhsv(251, 78%, 44%)
CMYKcmyk(64%, 78.4%, 0%, 56.5%)
CIE-LABlab(16.76, 33.73, -47.40)
CIE-LCHlch(16.76, 58.18, 305.44°)
OKLaboklab(29.73% 0.0295 -0.1367)
OKLCHoklch(29.73% 0.14 282.2)
XYZxyz(4.0701, 2.2518, 15.2560)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#28186F #5F6F18
analogous
#18346F #28186F #54186F
triadic
#28186F #6F2818 #186F28
tetradic
#28186F #6F1834 #5F6F18 #186F54
square
#28186F #6F1834 #5F6F18 #186F54
split-complementary
#28186F #6F5418 #346F18
monochromatic
#090519 #160D3D #28186F #3A23A1 #4D2FD2

Accesibilidad y contraste

On white

14.48
#28186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#28186F on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #28186F
14.48:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##28186F#FFFFFF#000000##FFFFFF
##28186F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#292929

Tokens de diseño y código

CSS
--color: #28186f;
/* rgb */ color: rgb(40, 24, 111);
/* oklch */ color: oklch(29.7% 0.140 282.2);
Tailwind
colors: {
  custom: {
    50: '#6c5799',
    500: '#28186f',
    950: '#000000',
  },
}
SCSS
$custom: #28186f;
$custom-light: #6c5799;
$custom-dark: #000000;
JSON
{
  "hex": "#28186f",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 251.034,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.13982,
    "h": 282.2
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#28186F
secondary
#92A53E
accent
#E740C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Laboratorio de vista previa

Vista previa con #28186F

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

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

#28186F — Tintiva