#62507A#62507A

#62507A is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.7% C 0.070 H 303.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#62507A
RGBrgb(98, 80, 122)
HSLhsl(266, 21%, 40%)
HSVhsv(266, 34%, 48%)
CMYKcmyk(19.7%, 34.4%, 0%, 52.2%)
CIE-LABlab(37.37, 16.66, -21.08)
CIE-LCHlch(37.37, 26.87, 308.33°)
OKLaboklab(46.66% 0.0385 -0.0582)
OKLCHoklch(46.66% 0.07 303.5)
XYZxyz(11.4178, 9.7392, 19.6869)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62507A #687A50
analogous
#50537A #62507A #77507A
triadic
#62507A #7A6250 #507A62
tetradic
#62507A #7A5053 #687A50 #507A77
square
#62507A #7A5053 #687A50 #507A77
split-complementary
#62507A #7A7750 #537A50
monochromatic
#272030 #443855 #62507A #806A9D #9F8FB5

Accessibility & contrast

On white

7.12
#62507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#62507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62507A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62507A#FFFFFF#000000##FFFFFF
##62507A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577C
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#5E565F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #62507a;
/* rgb */ color: rgb(98, 80, 122);
/* oklch */ color: oklch(46.7% 0.070 303.5);
Tailwind
colors: {
  custom: {
    50: '#8f81a0',
    500: '#62507a',
    950: '#000000',
  },
}
SCSS
$custom: #62507a;
$custom-light: #8f81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#62507a",
  "rgb": {
    "r": 98,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 265.714,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46664,
    "c": 0.06973,
    "h": 303.5
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#62507A
secondary
#95A383
accent
#BD6A9A
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #62507A

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

Preview Lab → · Contrast checker → · Palette generator →

#62507A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva