#595262#595262

#595262 is a mid, muted violet. Relative luminance 0.090; OKLCH L 45.1% C 0.027 H 305.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#595262
RGBrgb(89, 82, 98)
HSLhsl(266, 9%, 35%)
HSVhsv(266, 16%, 38%)
CMYKcmyk(9.2%, 16.3%, 0%, 61.6%)
CIE-LABlab(36.06, 6.34, -8.23)
CIE-LCHlch(36.06, 10.39, 307.61°)
OKLaboklab(45.12% 0.0156 -0.0222)
OKLCHoklch(45.12% 0.027 305.1)
XYZxyz(9.3413, 9.0403, 12.8057)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#595262 #5B6252
analogous
#525362 #595262 #615262
triadic
#595262 #625952 #526259
tetradic
#595262 #625253 #5B6252 #526261
square
#595262 #625253 #5B6252 #526261
split-complementary
#595262 #626152 #536252
monochromatic
#1C1A1F #3B3641 #595262 #776E83 #968EA0

Accessibility & contrast

On white

7.48
#595262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#595262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #595262
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##595262#FFFFFF#000000##FFFFFF
##5952621.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5563
Deuteranopia (green-blind)
#515561
Tritanopia (blue-blind)
#585457
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #595262;
/* rgb */ color: rgb(89, 82, 98);
/* oklch */ color: oklch(45.1% 0.027 305.1);
Tailwind
colors: {
  custom: {
    50: '#88828e',
    500: '#595262',
    950: '#000000',
  },
}
SCSS
$custom: #595262;
$custom-light: #88828e;
$custom-dark: #000000;
JSON
{
  "hex": "#595262",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 266.25,
    "s": 8.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45121,
    "c": 0.02713,
    "h": 305.1
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#595262
secondary
#898F80
accent
#B27698
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #595262

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

Preview Lab → · Contrast checker → · Palette generator →

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