#190C40#190C40

#190C40 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.092 H 287.2°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#190C40
RGBrgb(25, 12, 64)
HSLhsl(255, 68%, 15%)
HSVhsv(255, 81%, 25%)
CMYKcmyk(60.9%, 81.2%, 0%, 74.9%)
CIE-LABlab(7.58, 22.56, -30.64)
CIE-LCHlch(7.58, 38.05, 306.36°)
OKLaboklab(21.32% 0.0273 -0.0881)
OKLCHoklch(21.32% 0.092 287.2)
XYZxyz(1.4575, 0.8397, 4.9348)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C40 #33400C
analogous
#0C1940 #190C40 #330C40
triadic
#190C40 #40190C #0C4019
tetradic
#190C40 #400C19 #33400C #0C4033
square
#190C40 #400C19 #33400C #0C4033
split-complementary
#190C40 #40330C #19400C
monochromatic
#0A051A #0A051A #190C40 #2D1674 #411FA7

Accessibility & contrast

On white

17.98
#190C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#190C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C40
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C40#FFFFFF#000000##FFFFFF
##190C401.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#091A25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #190c40;
/* rgb */ color: rgb(25, 12, 64);
/* oklch */ color: oklch(21.3% 0.092 287.2);
Tailwind
colors: {
  custom: {
    50: '#5b4c75',
    500: '#190c40',
    950: '#000000',
  },
}
SCSS
$custom: #190c40;
$custom-light: #5b4c75;
$custom-dark: #000000;
JSON
{
  "hex": "#190c40",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 255,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21319,
    "c": 0.09227,
    "h": 287.2
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#190C40
secondary
#687C2C
accent
#EB3DC0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190C40

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

Preview Lab → · Contrast checker → · Palette generator →

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