#585262#585262

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

Color values

HEX#585262
RGBrgb(88, 82, 98)
HSLhsl(263, 9%, 35%)
HSVhsv(263, 16%, 38%)
CMYKcmyk(10.2%, 16.3%, 0%, 61.6%)
CIE-LABlab(35.97, 5.96, -8.38)
CIE-LCHlch(35.97, 10.28, 305.41°)
OKLaboklab(45.03% 0.0144 -0.0226)
OKLCHoklch(45.03% 0.027 302.4)
XYZxyz(9.2460, 8.9911, 12.8013)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585262 #5C6252
analogous
#525462 #585262 #605262
triadic
#585262 #625852 #526258
tetradic
#585262 #625254 #5C6252 #526260
square
#585262 #625254 #5C6252 #526260
split-complementary
#585262 #626052 #546252
monochromatic
#1C1A1F #3A3641 #585262 #766E83 #958EA0

Accessibility & contrast

On white

7.50
#585262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#585262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #585262
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585262#FFFFFF#000000##FFFFFF
##5852621.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5463
Deuteranopia (green-blind)
#505561
Tritanopia (blue-blind)
#575457
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #585262;
/* rgb */ color: rgb(88, 82, 98);
/* oklch */ color: oklch(45.0% 0.027 302.4);
Tailwind
colors: {
  custom: {
    50: '#87828e',
    500: '#585262',
    950: '#000000',
  },
}
SCSS
$custom: #585262;
$custom-light: #87828e;
$custom-dark: #000000;
JSON
{
  "hex": "#585262",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 262.5,
    "s": 8.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.02679,
    "h": 302.4
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#585262
secondary
#8A8F80
accent
#B2769B
background
#F8F7F8
surface
#EFEEF0
border
#CAC9CB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #585262

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

Preview Lab → · Contrast checker → · Palette generator →

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