#190C51#190C51

#190C51 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.116 H 281.1°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#190C51
RGBrgb(25, 12, 81)
HSLhsl(251, 74%, 18%)
HSVhsv(251, 85%, 32%)
CMYKcmyk(69.1%, 85.2%, 0%, 68.2%)
CIE-LABlab(9.51, 28.48, -39.37)
CIE-LCHlch(9.51, 48.59, 305.88°)
OKLaboklab(23.26% 0.0223 -0.1136)
OKLCHoklch(23.26% 0.116 281.1)
XYZxyz(2.0171, 1.0635, 7.8820)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C51 #44510C
analogous
#0C2151 #190C51 #3B0C51
triadic
#190C51 #51190C #0C5119
tetradic
#190C51 #510C21 #44510C #0C513B
square
#190C51 #510C21 #44510C #0C513B
split-complementary
#190C51 #513B0C #21510C
monochromatic
#08041B #09041C #190C51 #291486 #3A1CBC

Accessibility & contrast

On white

17.32
#190C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190C51
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C51#FFFFFF#000000##FFFFFF
##190C511.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #190c51;
/* rgb */ color: rgb(25, 12, 81);
/* oklch */ color: oklch(23.3% 0.116 281.1);
Tailwind
colors: {
  custom: {
    50: '#5f4d83',
    500: '#190c51',
    950: '#000000',
  },
}
SCSS
$custom: #190c51;
$custom-light: #5f4d83;
$custom-dark: #000000;
JSON
{
  "hex": "#190c51",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 251.304,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23262,
    "c": 0.11579,
    "h": 281.1
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#190C51
secondary
#7A8C2C
accent
#F137CE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #190C51

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

Preview Lab → · Contrast checker → · Palette generator →

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