#190D51#190D51

#190D51 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.115 H 280.9°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#190D51
RGBrgb(25, 13, 81)
HSLhsl(251, 72%, 18%)
HSVhsv(251, 84%, 32%)
CMYKcmyk(69.1%, 84%, 0%, 68.2%)
CIE-LABlab(9.71, 27.91, -39.04)
CIE-LCHlch(9.71, 47.99, 305.56°)
OKLaboklab(23.4% 0.0217 -0.1127)
OKLCHoklch(23.4% 0.115 280.9)
XYZxyz(2.0296, 1.0884, 7.8861)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190D51 #45510D
analogous
#0D2351 #190D51 #3B0D51
triadic
#190D51 #51190D #0D5119
tetradic
#190D51 #510D23 #45510D #0D513B
square
#190D51 #510D23 #45510D #0D513B
split-complementary
#190D51 #513B0D #23510D
monochromatic
#08041A #09051C #190D51 #291586 #3A1EBA

Accessibility & contrast

On white

17.24
#190D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#190D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190D51
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190D51#FFFFFF#000000##FFFFFF
##190D511.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D53
Deuteranopia (green-blind)
#001850
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #190d51;
/* rgb */ color: rgb(25, 13, 81);
/* oklch */ color: oklch(23.4% 0.115 280.9);
Tailwind
colors: {
  custom: {
    50: '#5f4d83',
    500: '#190d51',
    950: '#000000',
  },
}
SCSS
$custom: #190d51;
$custom-light: #5f4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#190d51",
  "rgb": {
    "r": 25,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 250.588,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.234,
    "c": 0.11473,
    "h": 280.9
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#190D51
secondary
#7B8C2E
accent
#EF39CF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #190D51

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

Preview Lab → · Contrast checker → · Palette generator →

#190D51 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva