#191237#191237

#191237 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.069 H 287.9°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#191237
RGBrgb(25, 18, 55)
HSLhsl(251, 51%, 14%)
HSVhsv(251, 67%, 22%)
CMYKcmyk(54.5%, 67.3%, 0%, 78.4%)
CIE-LABlab(8.26, 15.19, -23.07)
CIE-LCHlch(8.26, 27.63, 303.37°)
OKLaboklab(21.55% 0.0212 -0.0659)
OKLCHoklch(21.55% 0.069 287.9)
XYZxyz(1.3066, 0.9151, 3.7215)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191237 #303712
analogous
#121E37 #191237 #2C1237
triadic
#191237 #371912 #123719
tetradic
#191237 #37121E #303712 #12372C
square
#191237 #37121E #303712 #12372C
split-complementary
#191237 #372C12 #1E3712
monochromatic
#0A0817 #0A0817 #191237 #2E2165 #433093

Accessibility & contrast

On white

17.75
#191237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#191237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191237
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191237#FFFFFF#000000##FFFFFF
##1912371.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#0F1A22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #191237;
/* rgb */ color: rgb(25, 18, 55);
/* oklch */ color: oklch(21.5% 0.069 287.9);
Tailwind
colors: {
  custom: {
    50: '#59506e',
    500: '#191237',
    950: '#000000',
  },
}
SCSS
$custom: #191237;
$custom-light: #59506e;
$custom-dark: #000000;
JSON
{
  "hex": "#191237",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 251.351,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21547,
    "c": 0.06918,
    "h": 287.9
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#191237
secondary
#657035
accent
#DA4EC0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #191237

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

Preview Lab → · Contrast checker → · Palette generator →

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