#190642#190642

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

Color values

HEX#190642
RGBrgb(25, 6, 66)
HSLhsl(259, 83%, 14%)
HSVhsv(259, 91%, 26%)
CMYKcmyk(62.1%, 90.9%, 0%, 74.1%)
CIE-LABlab(6.60, 26.59, -33.69)
CIE-LCHlch(6.60, 42.91, 308.28°)
OKLaboklab(20.64% 0.0324 -0.0974)
OKLCHoklch(20.64% 0.103 288.4)
XYZxyz(1.4491, 0.7302, 5.2178)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190642 #2F4206
analogous
#061142 #190642 #370642
triadic
#190642 #421906 #064219
tetradic
#190642 #420611 #2F4206 #064237
square
#190642 #420611 #2F4206 #064237
split-complementary
#190642 #423706 #114206
monochromatic
#0B031C #0B031C #190642 #2E0B7A #4410B2

Accessibility & contrast

On white

18.32
#190642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190642
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190642#FFFFFF#000000##FFFFFF
##1906421.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #190642;
/* rgb */ color: rgb(25, 6, 66);
/* oklch */ color: oklch(20.6% 0.103 288.4);
Tailwind
colors: {
  custom: {
    50: '#5c4977',
    500: '#190642',
    950: '#000000',
  },
}
SCSS
$custom: #190642;
$custom-light: #5c4977;
$custom-dark: #000000;
JSON
{
  "hex": "#190642",
  "rgb": {
    "r": 25,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 259,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20637,
    "c": 0.10266,
    "h": 288.4
  },
  "luminance": 0.0073
}

Semantic roles & 50–950 ramp

primary
#190642
secondary
#638222
accent
#FA2EB9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190642

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

Preview Lab → · Contrast checker → · Palette generator →

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