#62487F#62487F

#62487F is a mid, moderate violet. Relative luminance 0.088; OKLCH L 45.3% C 0.092 H 304.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#62487F
RGBrgb(98, 72, 127)
HSLhsl(268, 28%, 39%)
HSVhsv(268, 43%, 50%)
CMYKcmyk(22.8%, 43.3%, 0%, 50.2%)
CIE-LABlab(35.53, 22.92, -27.04)
CIE-LCHlch(35.53, 35.45, 310.29°)
OKLaboklab(45.34% 0.0523 -0.0753)
OKLCHoklch(45.34% 0.092 304.8)
XYZxyz(11.1843, 8.7638, 21.1769)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62487F #657F48
analogous
#484A7F #62487F #7E487F
triadic
#62487F #7F6248 #487F62
tetradic
#62487F #7F484A #657F48 #487F7E
square
#62487F #7F484A #657F48 #487F7E
split-complementary
#62487F #7F7E48 #4A7F48
monochromatic
#261C31 #443258 #62487F #8060A5 #9F87BB

Accessibility & contrast

On white

7.63
#62487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#62487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62487F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62487F#FFFFFF#000000##FFFFFF
##62487F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#41547E
Tritanopia (blue-blind)
#5D515D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #62487f;
/* rgb */ color: rgb(98, 72, 127);
/* oklch */ color: oklch(45.3% 0.092 304.8);
Tailwind
colors: {
  custom: {
    50: '#907ba4',
    500: '#62487f',
    950: '#000000',
  },
}
SCSS
$custom: #62487f;
$custom-light: #907ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#62487f",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 268.364,
    "s": 27.638,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45343,
    "c": 0.09166,
    "h": 304.8
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#62487F
secondary
#93A77C
accent
#C46497
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #62487F

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

Preview Lab → · Contrast checker → · Palette generator →

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