#190C4F#190C4F

#190C4F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.113 H 281.7°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#190C4F
RGBrgb(25, 12, 79)
HSLhsl(252, 74%, 18%)
HSVhsv(252, 85%, 31%)
CMYKcmyk(68.4%, 84.8%, 0%, 69%)
CIE-LABlab(9.27, 27.79, -38.39)
CIE-LCHlch(9.27, 47.39, 305.90°)
OKLaboklab(23.02% 0.023 -0.1107)
OKLCHoklch(23.02% 0.113 281.7)
XYZxyz(1.9432, 1.0340, 7.4928)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C4F #424F0C
analogous
#0C204F #190C4F #3A0C4F
triadic
#190C4F #4F190C #0C4F19
tetradic
#190C4F #4F0C20 #424F0C #0C4F3A
square
#190C4F #4F0C20 #424F0C #0C4F3A
split-complementary
#190C4F #4F3A0C #204F0C
monochromatic
#08041B #08041B #190C4F #2A1484 #3B1CB9

Accessibility & contrast

On white

17.40
#190C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#190C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C4F
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C4F#FFFFFF#000000##FFFFFF
##190C4F1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #190c4f;
/* rgb */ color: rgb(25, 12, 79);
/* oklch */ color: oklch(23.0% 0.113 281.7);
Tailwind
colors: {
  custom: {
    50: '#5f4d81',
    500: '#190c4f',
    950: '#000000',
  },
}
SCSS
$custom: #190c4f;
$custom-light: #5f4d81;
$custom-dark: #000000;
JSON
{
  "hex": "#190c4f",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 251.642,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23024,
    "c": 0.1131,
    "h": 281.7
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#190C4F
secondary
#788B2C
accent
#F038CC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #190C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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