#62307C#62307C

#62307C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.130 H 312.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#62307C
RGBrgb(98, 48, 124)
HSLhsl(279, 44%, 34%)
HSVhsv(279, 61%, 49%)
CMYKcmyk(21%, 61.3%, 0%, 51.4%)
CIE-LABlab(29.83, 36.38, -34.19)
CIE-LCHlch(29.83, 49.92, 316.78°)
OKLaboklab(41.06% 0.0877 -0.096)
OKLCHoklch(41.06% 0.13 312.4)
XYZxyz(9.7314, 6.1661, 19.7424)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62307C #4A7C30
analogous
#3C307C #62307C #7C3070
triadic
#62307C #7C6230 #307C62
tetradic
#62307C #7C3C30 #4A7C30 #30707C
square
#62307C #7C3C30 #4A7C30 #30707C
split-complementary
#62307C #707C30 #307C3C
monochromatic
#1C0E24 #3F1F50 #62307C #8541A8 #A264C3

Accessibility & contrast

On white

9.40
#62307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62307C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62307C#FFFFFF#000000##FFFFFF
##62307C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#5F3E51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62307c;
/* rgb */ color: rgb(98, 48, 124);
/* oklch */ color: oklch(41.1% 0.130 312.4);
Tailwind
colors: {
  custom: {
    50: '#916ba2',
    500: '#62307c',
    950: '#000000',
  },
}
SCSS
$custom: #62307c;
$custom-light: #916ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#62307c",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 279.474,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.13,
    "h": 312.4
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#62307C
secondary
#78AA5E
accent
#D45480
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62307C

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

Preview Lab → · Contrast checker → · Palette generator →

#62307C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva