#190338#190338

#190338 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.095 H 295.2°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#190338
RGBrgb(25, 3, 56)
HSLhsl(265, 90%, 12%)
HSVhsv(265, 95%, 22%)
CMYKcmyk(55.4%, 94.6%, 0%, 78%)
CIE-LABlab(5.03, 24.03, -29.02)
CIE-LCHlch(5.03, 37.68, 309.62°)
OKLaboklab(18.94% 0.0403 -0.0856)
OKLCHoklch(18.94% 0.095 295.2)
XYZxyz(1.1471, 0.5573, 3.7877)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190338 #223803
analogous
#030738 #190338 #340338
triadic
#190338 #381903 #033819
tetradic
#190338 #380307 #223803 #033834
square
#190338 #380307 #223803 #033834
split-complementary
#190338 #383403 #073803
monochromatic
#0D021D #0D021D #190338 #330672 #4D09AC

Accessibility & contrast

On white

18.90
#190338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#190338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190338
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190338#FFFFFF#000000##FFFFFF
##1903381.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#10121E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #190338;
/* rgb */ color: rgb(25, 3, 56);
/* oklch */ color: oklch(18.9% 0.095 295.2);
Tailwind
colors: {
  custom: {
    50: '#5a476f',
    500: '#190338',
    950: '#000000',
  },
}
SCSS
$custom: #190338;
$custom-light: #5a476f;
$custom-dark: #000000;
JSON
{
  "hex": "#190338",
  "rgb": {
    "r": 25,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 264.906,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18941,
    "c": 0.09461,
    "h": 295.2
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#190338
secondary
#537B1C
accent
#FF29A6
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #190338

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

Preview Lab → · Contrast checker → · Palette generator →

#190338 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva