#190C45#190C45

#190C45 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.099 H 285.2°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#190C45
RGBrgb(25, 12, 69)
HSLhsl(254, 70%, 16%)
HSVhsv(254, 83%, 27%)
CMYKcmyk(63.8%, 82.6%, 0%, 72.9%)
CIE-LABlab(8.12, 24.34, -33.31)
CIE-LCHlch(8.12, 41.25, 306.15°)
OKLaboklab(21.87% 0.026 -0.0959)
OKLCHoklch(21.87% 0.099 285.2)
XYZxyz(1.6062, 0.8992, 5.7180)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C45 #38450C
analogous
#0C1B45 #190C45 #350C45
triadic
#190C45 #45190C #0C4519
tetradic
#190C45 #450C1B #38450C #0C4535
square
#190C45 #450C1B #38450C #0C4535
split-complementary
#190C45 #45350C #1B450C
monochromatic
#09051A #09051A #190C45 #2C1579 #3F1EAD

Accessibility & contrast

On white

17.80
#190C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#190C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C45
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C45#FFFFFF#000000##FFFFFF
##190C451.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001644
Tritanopia (blue-blind)
#041C27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #190c45;
/* rgb */ color: rgb(25, 12, 69);
/* oklch */ color: oklch(21.9% 0.099 285.2);
Tailwind
colors: {
  custom: {
    50: '#5c4c79',
    500: '#190c45',
    950: '#000000',
  },
}
SCSS
$custom: #190c45;
$custom-light: #5c4c79;
$custom-dark: #000000;
JSON
{
  "hex": "#190c45",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 253.684,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21871,
    "c": 0.09936,
    "h": 285.2
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#190C45
secondary
#6E812C
accent
#ED3BC4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190C45

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

Preview Lab → · Contrast checker → · Palette generator →

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