#190340#190340

#190340 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.104 H 290.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#190340
RGBrgb(25, 3, 64)
HSLhsl(262, 91%, 13%)
HSVhsv(262, 95%, 25%)
CMYKcmyk(60.9%, 95.3%, 0%, 74.9%)
CIE-LABlab(5.80, 27.39, -33.56)
CIE-LCHlch(5.80, 43.32, 309.21°)
OKLaboklab(19.91% 0.0364 -0.0977)
OKLCHoklch(19.91% 0.104 290.5)
XYZxyz(1.3586, 0.6419, 4.9018)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190340 #2A4003
analogous
#030C40 #190340 #370340
triadic
#190340 #401903 #034019
tetradic
#190340 #40030C #2A4003 #034037
square
#190340 #40030C #2A4003 #034037
split-complementary
#190340 #403703 #0C4003
monochromatic
#0B011D #0B011D #190340 #30067A #4708B5

Accessibility & contrast

On white

18.61
#190340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#190340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190340
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190340#FFFFFF#000000##FFFFFF
##1903401.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#0A1522
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #190340;
/* rgb */ color: rgb(25, 3, 64);
/* oklch */ color: oklch(19.9% 0.104 290.5);
Tailwind
colors: {
  custom: {
    50: '#5c4776',
    500: '#190340',
    950: '#000000',
  },
}
SCSS
$custom: #190340;
$custom-light: #5c4776;
$custom-dark: #000000;
JSON
{
  "hex": "#190340",
  "rgb": {
    "r": 25,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 261.639,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19914,
    "c": 0.10429,
    "h": 290.5
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#190340
secondary
#5E821D
accent
#FF29B2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #190340

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

Preview Lab → · Contrast checker → · Palette generator →

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