#190942#190942

#190942 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.099 H 287.4°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#190942
RGBrgb(25, 9, 66)
HSLhsl(257, 76%, 15%)
HSVhsv(257, 86%, 26%)
CMYKcmyk(62.1%, 86.4%, 0%, 74.1%)
CIE-LABlab(7.18, 24.97, -32.72)
CIE-LCHlch(7.18, 41.16, 307.35°)
OKLaboklab(21.09% 0.0296 -0.0943)
OKLCHoklch(21.09% 0.099 287.4)
XYZxyz(1.4817, 0.7953, 5.2286)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190942 #324209
analogous
#091642 #190942 #360942
triadic
#190942 #421909 #094219
tetradic
#190942 #420916 #324209 #094236
square
#190942 #420916 #324209 #094236
split-complementary
#190942 #423609 #164209
monochromatic
#0A041B #0A041B #190942 #2D1078 #4218AE

Accessibility & contrast

On white

18.12
#190942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#190942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190942
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190942#FFFFFF#000000##FFFFFF
##1909421.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#071925
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #190942;
/* rgb */ color: rgb(25, 9, 66);
/* oklch */ color: oklch(21.1% 0.099 287.4);
Tailwind
colors: {
  custom: {
    50: '#5c4a77',
    500: '#190942',
    950: '#000000',
  },
}
SCSS
$custom: #190942;
$custom-light: #5c4a77;
$custom-dark: #000000;
JSON
{
  "hex": "#190942",
  "rgb": {
    "r": 25,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 256.842,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21089,
    "c": 0.09885,
    "h": 287.4
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#190942
secondary
#678027
accent
#F335BD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190942

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

Preview Lab → · Contrast checker → · Palette generator →

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