#797289#797289

#797289 is a mid, muted violet. Relative luminance 0.179; OKLCH L 56.6% C 0.036 H 299.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#797289
RGBrgb(121, 114, 137)
HSLhsl(258, 9%, 49%)
HSVhsv(258, 17%, 54%)
CMYKcmyk(11.7%, 16.8%, 0%, 46.3%)
CIE-LABlab(49.38, 7.51, -11.59)
CIE-LCHlch(49.38, 13.81, 302.96°)
OKLaboklab(56.65% 0.0175 -0.0314)
OKLCHoklch(56.65% 0.036 299.2)
XYZxyz(18.4169, 17.9057, 26.1479)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797289 #828972
analogous
#727789 #797289 #857289
triadic
#797289 #897972 #728979
tetradic
#797289 #897277 #828972 #728985
square
#797289 #897277 #828972 #728985
split-complementary
#797289 #898572 #778972
monochromatic
#3E3A46 #5B5668 #797289 #9993A5 #B8B4C1

Accessibility & contrast

On white

4.58
#797289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#797289 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797289
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797289#FFFFFF#000000##000000
##7972891.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E758A
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#76757A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797289;
/* rgb */ color: rgb(121, 114, 137);
/* oklch */ color: oklch(56.6% 0.036 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f9aab',
    500: '#797289',
    950: '#000000',
  },
}
SCSS
$custom: #797289;
$custom-light: #9f9aab;
$custom-dark: #000000;
JSON
{
  "hex": "#797289",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 137
  },
  "hsl": {
    "h": 258.261,
    "s": 9.163,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.0359,
    "h": 299.2
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#797289
secondary
#ADB1A6
accent
#B276A0
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797289

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

Preview Lab → · Contrast checker → · Palette generator →

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