#62307D#62307D

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

Color values

HEX#62307D
RGBrgb(98, 48, 125)
HSLhsl(279, 45%, 34%)
HSVhsv(279, 62%, 49%)
CMYKcmyk(21.6%, 61.6%, 0%, 51%)
CIE-LABlab(29.89, 36.61, -34.71)
CIE-LCHlch(29.89, 50.45, 316.53°)
OKLaboklab(41.13% 0.0877 -0.0975)
OKLCHoklch(41.13% 0.131 312)
XYZxyz(9.7950, 6.1915, 20.0772)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62307D #4B7D30
analogous
#3C307D #62307D #7D3072
triadic
#62307D #7D6230 #307D62
tetradic
#62307D #7D3C30 #4B7D30 #30727D
square
#62307D #7D3C30 #4B7D30 #30727D
split-complementary
#62307D #727D30 #307D3C
monochromatic
#1D0E25 #3F1F51 #62307D #8541A9 #A264C3

Accessibility & contrast

On white

9.38
#62307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#62307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62307D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62307D#FFFFFF#000000##FFFFFF
##62307D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#5F3E52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62307d;
/* rgb */ color: rgb(98, 48, 125);
/* oklch */ color: oklch(41.1% 0.131 312.0);
Tailwind
colors: {
  custom: {
    50: '#916ba3',
    500: '#62307d',
    950: '#000000',
  },
}
SCSS
$custom: #62307d;
$custom-light: #916ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#62307d",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 278.961,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.13115,
    "h": 312
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#62307D
secondary
#79AB5E
accent
#D45481
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62307D

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

Preview Lab → · Contrast checker → · Palette generator →

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