#62389E#62389E

#62389E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.158 H 298.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#62389E
RGBrgb(98, 56, 158)
HSLhsl(265, 48%, 42%)
HSVhsv(265, 65%, 62%)
CMYKcmyk(38%, 64.6%, 0%, 38%)
CIE-LABlab(33.76, 40.61, -48.82)
CIE-LCHlch(33.76, 63.50, 309.75°)
OKLaboklab(44.65% 0.0762 -0.1389)
OKLCHoklch(44.65% 0.158 298.7)
XYZxyz(12.6212, 7.8935, 33.1998)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62389E #749E38
analogous
#38419E #62389E #95389E
triadic
#62389E #9E6238 #389E62
tetradic
#62389E #9E3841 #749E38 #389E95
square
#62389E #9E3841 #749E38 #389E95
split-complementary
#62389E #9E9538 #419E38
monochromatic
#2A1844 #462871 #62389E #8052C2 #A17FD2

Accessibility & contrast

On white

8.14
#62389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#62389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62389E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62389E#FFFFFF#000000##FFFFFF
##62389E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#034E9C
Tritanopia (blue-blind)
#544F66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #62389e;
/* rgb */ color: rgb(98, 56, 158);
/* oklch */ color: oklch(44.7% 0.158 298.7);
Tailwind
colors: {
  custom: {
    50: '#9371bb',
    500: '#62389e',
    950: '#000000',
  },
}
SCSS
$custom: #62389e;
$custom-light: #9371bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62389e",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 264.706,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.15844,
    "h": 298.7
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#62389E
secondary
#9FBB77
accent
#D751A0
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #62389E

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

Preview Lab → · Contrast checker → · Palette generator →

#62389E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva