#190740#190740

#190740 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.099 H 289.1°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#190740
RGBrgb(25, 7, 64)
HSLhsl(259, 80%, 14%)
HSVhsv(259, 89%, 25%)
CMYKcmyk(60.9%, 89.1%, 0%, 74.9%)
CIE-LABlab(6.58, 25.29, -32.28)
CIE-LCHlch(6.58, 41.01, 308.07°)
OKLaboklab(20.56% 0.0322 -0.0933)
OKLCHoklch(20.56% 0.099 289.1)
XYZxyz(1.4020, 0.7287, 4.9163)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190740 #2E4007
analogous
#071240 #190740 #360740
triadic
#190740 #401907 #074019
tetradic
#190740 #400712 #2E4007 #074036
square
#190740 #400712 #2E4007 #074036
split-complementary
#190740 #403607 #124007
monochromatic
#0B031C #0B031C #190740 #2F0D77 #4413AE

Accessibility & contrast

On white

18.33
#190740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#190740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190740
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190740#FFFFFF#000000##FFFFFF
##1907401.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#091723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #190740;
/* rgb */ color: rgb(25, 7, 64);
/* oklch */ color: oklch(20.6% 0.099 289.1);
Tailwind
colors: {
  custom: {
    50: '#5b4975',
    500: '#190740',
    950: '#000000',
  },
}
SCSS
$custom: #190740;
$custom-light: #5b4975;
$custom-dark: #000000;
JSON
{
  "hex": "#190740",
  "rgb": {
    "r": 25,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 258.947,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20555,
    "c": 0.09873,
    "h": 289.1
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#190740
secondary
#627F24
accent
#F731B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190740

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

Preview Lab → · Contrast checker → · Palette generator →

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