#190F38#190F38

#190F38 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.076 H 289.5°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#190F38
RGBrgb(25, 15, 56)
HSLhsl(255, 58%, 14%)
HSVhsv(255, 73%, 22%)
CMYKcmyk(55.4%, 73.2%, 0%, 78%)
CIE-LABlab(7.53, 17.69, -24.98)
CIE-LCHlch(7.53, 30.61, 305.31°)
OKLaboklab(21.03% 0.0253 -0.0715)
OKLCHoklch(21.03% 0.076 289.5)
XYZxyz(1.2853, 0.8338, 3.8338)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190F38 #2E380F
analogous
#0F1A38 #190F38 #2E0F38
triadic
#190F38 #38190F #0F3819
tetradic
#190F38 #380F1A #2E380F #0F382E
square
#190F38 #380F1A #2E380F #0F382E
split-complementary
#190F38 #382E0F #1A380F
monochromatic
#0B0618 #0B0618 #190F38 #2F1C68 #442999

Accessibility & contrast

On white

18.00
#190F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190F38
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190F38#FFFFFF#000000##FFFFFF
##190F381.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#0F1921
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #190f38;
/* rgb */ color: rgb(25, 15, 56);
/* oklch */ color: oklch(21.0% 0.076 289.5);
Tailwind
colors: {
  custom: {
    50: '#594d6f',
    500: '#190f38',
    950: '#000000',
  },
}
SCSS
$custom: #190f38;
$custom-light: #594d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#190f38",
  "rgb": {
    "r": 25,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 254.634,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21033,
    "c": 0.07585,
    "h": 289.5
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#190F38
secondary
#627230
accent
#E147BB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #190F38

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

Preview Lab → · Contrast checker → · Palette generator →

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