#190842#190842

#190842 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.100 H 287.8°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#190842
RGBrgb(25, 8, 66)
HSLhsl(258, 78%, 15%)
HSVhsv(258, 88%, 26%)
CMYKcmyk(62.1%, 87.9%, 0%, 74.1%)
CIE-LABlab(6.99, 25.51, -33.04)
CIE-LCHlch(6.99, 41.75, 307.67°)
OKLaboklab(20.94% 0.0305 -0.0953)
OKLCHoklch(20.94% 0.1 287.8)
XYZxyz(1.4708, 0.7736, 5.2250)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190842 #314208
analogous
#081442 #190842 #360842
triadic
#190842 #421908 #084219
tetradic
#190842 #420814 #314208 #084236
square
#190842 #420814 #314208 #084236
split-complementary
#190842 #423608 #144208
monochromatic
#0A031B #0A031B #190842 #2E0F79 #4215AF

Accessibility & contrast

On white

18.18
#190842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190842
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190842#FFFFFF#000000##FFFFFF
##1908421.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #190842;
/* rgb */ color: rgb(25, 8, 66);
/* oklch */ color: oklch(20.9% 0.100 287.8);
Tailwind
colors: {
  custom: {
    50: '#5c4a77',
    500: '#190842',
    950: '#000000',
  },
}
SCSS
$custom: #190842;
$custom-light: #5c4a77;
$custom-dark: #000000;
JSON
{
  "hex": "#190842",
  "rgb": {
    "r": 25,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 257.586,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2094,
    "c": 0.10009,
    "h": 287.8
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#190842
secondary
#668025
accent
#F533BC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190842

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

Preview Lab → · Contrast checker → · Palette generator →

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