#190C38#190C38

#190C38 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.5% C 0.081 H 291.2°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#190C38
RGBrgb(25, 12, 56)
HSLhsl(258, 65%, 13%)
HSVhsv(258, 79%, 22%)
CMYKcmyk(55.4%, 78.6%, 0%, 78%)
CIE-LABlab(6.82, 19.53, -26.13)
CIE-LCHlch(6.82, 32.62, 306.77°)
OKLaboklab(20.48% 0.0291 -0.0752)
OKLCHoklch(20.48% 0.081 291.2)
XYZxyz(1.2460, 0.7551, 3.8207)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C38 #2B380C
analogous
#0C1538 #190C38 #2F0C38
triadic
#190C38 #38190C #0C3819
tetradic
#190C38 #380C15 #2B380C #0C382F
square
#190C38 #380C15 #2B380C #0C382F
split-complementary
#190C38 #382F0C #15380C
monochromatic
#0B0519 #0B0519 #190C38 #2F176A #46229D

Accessibility & contrast

On white

18.25
#190C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#190C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C38
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C38#FFFFFF#000000##FFFFFF
##190C381.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#0F1720
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #190c38;
/* rgb */ color: rgb(25, 12, 56);
/* oklch */ color: oklch(20.5% 0.081 291.2);
Tailwind
colors: {
  custom: {
    50: '#594c6f',
    500: '#190c38',
    950: '#000000',
  },
}
SCSS
$custom: #190c38;
$custom-light: #594c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#190c38",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 257.727,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2048,
    "c": 0.08061,
    "h": 291.2
  },
  "luminance": 0.00755
}

Semantic roles & 50–950 ramp

primary
#190C38
secondary
#5F742C
accent
#E840B6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #190C38

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

Preview Lab → · Contrast checker → · Palette generator →

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