#190840#190840

#190840 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.097 H 288.7°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#190840
RGBrgb(25, 8, 64)
HSLhsl(258, 78%, 14%)
HSVhsv(258, 88%, 25%)
CMYKcmyk(60.9%, 87.5%, 0%, 74.9%)
CIE-LABlab(6.78, 24.76, -31.96)
CIE-LCHlch(6.78, 40.43, 307.76°)
OKLaboklab(20.71% 0.0312 -0.0923)
OKLCHoklch(20.71% 0.097 288.7)
XYZxyz(1.4129, 0.7504, 4.9199)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190840 #2F4008
analogous
#081340 #190840 #350840
triadic
#190840 #401908 #084019
tetradic
#190840 #400813 #2F4008 #084035
square
#190840 #400813 #2F4008 #084035
split-complementary
#190840 #403508 #134008
monochromatic
#0B031B #0B031B #190840 #2E0F76 #4316AD

Accessibility & contrast

On white

18.26
#190840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190840
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190840#FFFFFF#000000##FFFFFF
##1908401.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #190840;
/* rgb */ color: rgb(25, 8, 64);
/* oklch */ color: oklch(20.7% 0.097 288.7);
Tailwind
colors: {
  custom: {
    50: '#5b4a75',
    500: '#190840',
    950: '#000000',
  },
}
SCSS
$custom: #190840;
$custom-light: #5b4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#190840",
  "rgb": {
    "r": 25,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 258.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20709,
    "c": 0.09742,
    "h": 288.7
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#190840
secondary
#637E25
accent
#F434BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190840

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

Preview Lab → · Contrast checker → · Palette generator →

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