#190540#190540

#190540 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.101 H 289.8°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#190540
RGBrgb(25, 5, 64)
HSLhsl(260, 86%, 14%)
HSVhsv(260, 92%, 25%)
CMYKcmyk(60.9%, 92.2%, 0%, 74.9%)
CIE-LABlab(6.19, 26.34, -32.92)
CIE-LCHlch(6.19, 42.16, 308.66°)
OKLaboklab(20.24% 0.0343 -0.0955)
OKLCHoklch(20.24% 0.101 289.8)
XYZxyz(1.3803, 0.6853, 4.9090)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190540 #2C4005
analogous
#050E40 #190540 #360540
triadic
#190540 #401905 #054019
tetradic
#190540 #40050E #2C4005 #054036
square
#190540 #40050E #2C4005 #054036
split-complementary
#190540 #403605 #0E4005
monochromatic
#0B021C #0B021C #190540 #2F0979 #450EB2

Accessibility & contrast

On white

18.47
#190540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190540
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190540#FFFFFF#000000##FFFFFF
##1905401.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001542
Deuteranopia (green-blind)
#00123F
Tritanopia (blue-blind)
#0A1623
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #190540;
/* rgb */ color: rgb(25, 5, 64);
/* oklch */ color: oklch(20.2% 0.101 289.8);
Tailwind
colors: {
  custom: {
    50: '#5c4875',
    500: '#190540',
    950: '#000000',
  },
}
SCSS
$custom: #190540;
$custom-light: #5c4875;
$custom-dark: #000000;
JSON
{
  "hex": "#190540",
  "rgb": {
    "r": 25,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 260.339,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2024,
    "c": 0.10145,
    "h": 289.8
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#190540
secondary
#608120
accent
#FC2CB5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #190540

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

Preview Lab → · Contrast checker → · Palette generator →

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