#62389F#62389F

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

Color values

HEX#62389F
RGBrgb(98, 56, 159)
HSLhsl(264, 48%, 42%)
HSVhsv(264, 65%, 62%)
CMYKcmyk(38.4%, 64.8%, 0%, 37.6%)
CIE-LABlab(33.83, 40.87, -49.31)
CIE-LCHlch(33.83, 64.05, 309.66°)
OKLaboklab(44.73% 0.0761 -0.1404)
OKLCHoklch(44.73% 0.16 298.5)
XYZxyz(12.7076, 7.9281, 33.6549)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62389F #759F38
analogous
#38429F #62389F #96389F
triadic
#62389F #9F6238 #389F62
tetradic
#62389F #9F3842 #759F38 #389F96
square
#62389F #9F3842 #759F38 #389F96
split-complementary
#62389F #9F9638 #429F38
monochromatic
#2A1844 #462872 #62389F #8052C2 #A17FD2

Accessibility & contrast

On white

8.12
#62389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#62389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62389F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62389F#FFFFFF#000000##FFFFFF
##62389F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#544F66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #62389f;
/* rgb */ color: rgb(98, 56, 159);
/* oklch */ color: oklch(44.7% 0.160 298.5);
Tailwind
colors: {
  custom: {
    50: '#9371bc',
    500: '#62389f',
    950: '#000000',
  },
}
SCSS
$custom: #62389f;
$custom-light: #9371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62389f",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 264.466,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.15967,
    "h": 298.5
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#62389F
secondary
#A0BB77
accent
#D750A0
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #62389F

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

Preview Lab → · Contrast checker → · Palette generator →

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