#190742#190742

#190742 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.101 H 288.1°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#190742
RGBrgb(25, 7, 66)
HSLhsl(258, 81%, 14%)
HSVhsv(258, 89%, 26%)
CMYKcmyk(62.1%, 89.4%, 0%, 74.1%)
CIE-LABlab(6.79, 26.05, -33.37)
CIE-LCHlch(6.79, 42.33, 307.98°)
OKLaboklab(20.79% 0.0315 -0.0963)
OKLCHoklch(20.79% 0.101 288.1)
XYZxyz(1.4600, 0.7519, 5.2214)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190742 #304207
analogous
#071342 #190742 #370742
triadic
#190742 #421907 #074219
tetradic
#190742 #420713 #304207 #074237
square
#190742 #420713 #304207 #074237
split-complementary
#190742 #423707 #134207
monochromatic
#0A031C #0A031C #190742 #2E0D79 #4313B1

Accessibility & contrast

On white

18.25
#190742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190742
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190742#FFFFFF#000000##FFFFFF
##1907421.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#081825
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #190742;
/* rgb */ color: rgb(25, 7, 66);
/* oklch */ color: oklch(20.8% 0.101 288.1);
Tailwind
colors: {
  custom: {
    50: '#5c4977',
    500: '#190742',
    950: '#000000',
  },
}
SCSS
$custom: #190742;
$custom-light: #5c4977;
$custom-dark: #000000;
JSON
{
  "hex": "#190742",
  "rgb": {
    "r": 25,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 258.305,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2079,
    "c": 0.10136,
    "h": 288.1
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#190742
secondary
#658124
accent
#F731BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190742

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

Preview Lab → · Contrast checker → · Palette generator →

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