#190538#190538

#190538 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.091 H 294.3°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#190538
RGBrgb(25, 5, 56)
HSLhsl(264, 84%, 12%)
HSVhsv(264, 91%, 22%)
CMYKcmyk(55.4%, 91.1%, 0%, 78%)
CIE-LABlab(5.43, 23.05, -28.39)
CIE-LCHlch(5.43, 36.57, 309.08°)
OKLaboklab(19.3% 0.0376 -0.0831)
OKLCHoklch(19.3% 0.091 294.3)
XYZxyz(1.1688, 0.6007, 3.7950)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190538 #243805
analogous
#050B38 #190538 #330538
triadic
#190538 #381905 #053819
tetradic
#190538 #38050B #243805 #053833
square
#190538 #38050B #243805 #053833
split-complementary
#190538 #383305 #0B3805
monochromatic
#0D031C #0D031C #190538 #320A70 #4B0FA8

Accessibility & contrast

On white

18.75
#190538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#190538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190538
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190538#FFFFFF#000000##FFFFFF
##1905381.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#001137
Tritanopia (blue-blind)
#10131E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #190538;
/* rgb */ color: rgb(25, 5, 56);
/* oklch */ color: oklch(19.3% 0.091 294.3);
Tailwind
colors: {
  custom: {
    50: '#59486f',
    500: '#190538',
    950: '#000000',
  },
}
SCSS
$custom: #190538;
$custom-light: #59486f;
$custom-dark: #000000;
JSON
{
  "hex": "#190538",
  "rgb": {
    "r": 25,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 263.529,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.193,
    "c": 0.09124,
    "h": 294.3
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#190538
secondary
#567920
accent
#FA2EAA
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #190538

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

Preview Lab → · Contrast checker → · Palette generator →

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