#62398D#62398D

#62398D is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.136 H 303.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#62398D
RGBrgb(98, 57, 141)
HSLhsl(269, 42%, 39%)
HSVhsv(269, 60%, 55%)
CMYKcmyk(30.5%, 59.6%, 0%, 44.7%)
CIE-LABlab(32.80, 35.56, -40.00)
CIE-LCHlch(32.80, 53.52, 311.64°)
OKLaboklab(43.58% 0.0756 -0.113)
OKLCHoklch(43.58% 0.136 303.8)
XYZxyz(11.3068, 7.4460, 26.0357)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62398D #648D39
analogous
#393A8D #62398D #8C398D
triadic
#62398D #8D6239 #398D62
tetradic
#62398D #8D393A #648D39 #398D8C
square
#62398D #8D393A #648D39 #398D8C
split-complementary
#62398D #8D8C39 #3A8D39
monochromatic
#251636 #442761 #62398D #804CB7 #9F78C8

Accessibility & contrast

On white

8.44
#62398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#62398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62398D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62398D#FFFFFF#000000##FFFFFF
##62398D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#5A4A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62398d;
/* rgb */ color: rgb(98, 57, 141);
/* oklch */ color: oklch(43.6% 0.136 303.8);
Tailwind
colors: {
  custom: {
    50: '#9271af',
    500: '#62398d',
    950: '#000000',
  },
}
SCSS
$custom: #62398d;
$custom-light: #9271af;
$custom-dark: #000000;
JSON
{
  "hex": "#62398d",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 269.286,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.13598,
    "h": 303.8
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#62398D
secondary
#92B270
accent
#D25695
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62398D

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

Preview Lab → · Contrast checker → · Palette generator →

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