#190A40#190A40

#190A40 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.095 H 288.0°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#190A40
RGBrgb(25, 10, 64)
HSLhsl(257, 73%, 15%)
HSVhsv(257, 84%, 25%)
CMYKcmyk(60.9%, 84.4%, 0%, 74.9%)
CIE-LABlab(7.17, 23.69, -31.32)
CIE-LCHlch(7.17, 39.27, 307.11°)
OKLaboklab(21.01% 0.0293 -0.0902)
OKLCHoklch(21.01% 0.095 288)
XYZxyz(1.4346, 0.7938, 4.9271)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190A40 #31400A
analogous
#0A1640 #190A40 #340A40
triadic
#190A40 #40190A #0A4019
tetradic
#190A40 #400A16 #31400A #0A4034
square
#190A40 #400A16 #31400A #0A4034
split-complementary
#190A40 #40340A #16400A
monochromatic
#0A041A #0A041A #190A40 #2E1275 #421BAA

Accessibility & contrast

On white

18.12
#190A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#190A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##190A40#FFFFFF#000000##FFFFFF
##190A401.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)
#001742
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#091924
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #190a40;
/* rgb */ color: rgb(25, 10, 64);
/* oklch */ color: oklch(21.0% 0.095 288.0);
Tailwind
colors: {
  custom: {
    50: '#5b4b75',
    500: '#190a40',
    950: '#000000',
  },
}
SCSS
$custom: #190a40;
$custom-light: #5b4b75;
$custom-dark: #000000;
JSON
{
  "hex": "#190a40",
  "rgb": {
    "r": 25,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 256.667,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2101,
    "c": 0.09486,
    "h": 288
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#190A40
secondary
#667D29
accent
#F038BD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190A40

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

Preview Lab → · Contrast checker → · Palette generator →

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