#190542#190542

#190542 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.104 H 288.7°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#190542
RGBrgb(25, 5, 66)
HSLhsl(260, 86%, 14%)
HSVhsv(260, 92%, 26%)
CMYKcmyk(62.1%, 92.4%, 0%, 74.1%)
CIE-LABlab(6.40, 27.12, -34.01)
CIE-LCHlch(6.40, 43.50, 308.57°)
OKLaboklab(20.48% 0.0334 -0.0985)
OKLCHoklch(20.48% 0.104 288.7)
XYZxyz(1.4383, 0.7085, 5.2142)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190542 #2E4205
analogous
#051042 #190542 #380542
triadic
#190542 #421905 #054219
tetradic
#190542 #420510 #2E4205 #054238
square
#190542 #420510 #2E4205 #054238
split-complementary
#190542 #423805 #104205
monochromatic
#0B021C #0B021C #190542 #2F097B #440EB4

Accessibility & contrast

On white

18.39
#190542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#190542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190542
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190542#FFFFFF#000000##FFFFFF
##1905421.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#081724
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #190542;
/* rgb */ color: rgb(25, 5, 66);
/* oklch */ color: oklch(20.5% 0.104 288.7);
Tailwind
colors: {
  custom: {
    50: '#5c4877',
    500: '#190542',
    950: '#000000',
  },
}
SCSS
$custom: #190542;
$custom-light: #5c4877;
$custom-dark: #000000;
JSON
{
  "hex": "#190542",
  "rgb": {
    "r": 25,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 259.672,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20482,
    "c": 0.10398,
    "h": 288.7
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#190542
secondary
#628220
accent
#FC2CB8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040009
muted
#79777B

Preview Lab

Preview with #190542

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

Preview Lab → · Contrast checker → · Palette generator →

#190542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva