#62389A#62389A

#62389A is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.154 H 299.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#62389A
RGBrgb(98, 56, 154)
HSLhsl(266, 47%, 41%)
HSVhsv(266, 64%, 60%)
CMYKcmyk(36.4%, 63.6%, 0%, 39.6%)
CIE-LABlab(33.47, 39.54, -46.86)
CIE-LCHlch(33.47, 61.31, 310.16°)
OKLaboklab(44.35% 0.0765 -0.1332)
OKLCHoklch(44.35% 0.154 299.9)
XYZxyz(12.2825, 7.7580, 31.4159)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62389A #709A38
analogous
#383F9A #62389A #93389A
triadic
#62389A #9A6238 #389A62
tetradic
#62389A #9A383F #709A38 #389A93
square
#62389A #9A383F #709A38 #389A93
split-complementary
#62389A #9A9338 #3F9A38
monochromatic
#291740 #45286D #62389A #8050BF #A07DD0

Accessibility & contrast

On white

8.23
#62389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#62389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62389A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62389A#FFFFFF#000000##FFFFFF
##62389A1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#104E98
Tritanopia (blue-blind)
#564D64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #62389a;
/* rgb */ color: rgb(98, 56, 154);
/* oklch */ color: oklch(44.4% 0.154 299.9);
Tailwind
colors: {
  custom: {
    50: '#9371b8',
    500: '#62389a',
    950: '#000000',
  },
}
SCSS
$custom: #62389a;
$custom-light: #9371b8;
$custom-dark: #000000;
JSON
{
  "hex": "#62389a",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 265.714,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44353,
    "c": 0.15357,
    "h": 299.9
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#62389A
secondary
#9CB975
accent
#D6519D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #62389A

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

Preview Lab → · Contrast checker → · Palette generator →

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