#62587F#62587F

#62587F is a mid, moderate violet. Relative luminance 0.111; OKLCH L 48.6% C 0.063 H 295.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#62587F
RGBrgb(98, 88, 127)
HSLhsl(255, 18%, 42%)
HSVhsv(255, 31%, 50%)
CMYKcmyk(22.8%, 30.7%, 0%, 50.2%)
CIE-LABlab(39.76, 12.94, -20.44)
CIE-LCHlch(39.76, 24.19, 302.33°)
OKLaboklab(48.57% 0.0272 -0.0564)
OKLCHoklch(48.57% 0.063 295.8)
XYZxyz(12.3566, 11.1083, 21.5677)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62587F #757F58
analogous
#58617F #62587F #76587F
triadic
#62587F #7F6258 #587F62
tetradic
#62587F #7F5861 #757F58 #587F76
square
#62587F #7F5861 #757F58 #587F76
split-complementary
#62587F #7F7658 #617F58
monochromatic
#2A2637 #463F5B #62587F #80759F #A199B8

Accessibility & contrast

On white

6.52
#62587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#62587F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62587F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62587F#FFFFFF#000000##FFFFFF
##62587F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#5C5E66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #62587f;
/* rgb */ color: rgb(98, 88, 127);
/* oklch */ color: oklch(48.6% 0.063 295.8);
Tailwind
colors: {
  custom: {
    50: '#8f87a4',
    500: '#62587f',
    950: '#000000',
  },
}
SCSS
$custom: #62587f;
$custom-light: #8f87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62587f",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 255.385,
    "s": 18.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.06261,
    "h": 295.8
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#62587F
secondary
#A0A68C
accent
#BB6DA7
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F

Preview Lab

Preview with #62587F

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

Preview Lab → · Contrast checker → · Palette generator →

#62587F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva