#62398F#62398F

#62398F is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.138 H 303.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#62398F
RGBrgb(98, 57, 143)
HSLhsl(269, 43%, 39%)
HSVhsv(269, 60%, 56%)
CMYKcmyk(31.5%, 60.1%, 0%, 43.9%)
CIE-LABlab(32.93, 36.07, -41.01)
CIE-LCHlch(32.93, 54.62, 311.33°)
OKLaboklab(43.72% 0.0756 -0.116)
OKLCHoklch(43.72% 0.138 303.1)
XYZxyz(11.4569, 7.5061, 26.8265)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62398F #668F39
analogous
#393B8F #62398F #8D398F
triadic
#62398F #8F6239 #398F62
tetradic
#62398F #8F393B #668F39 #398F8D
square
#62398F #8F393B #668F39 #398F8D
split-complementary
#62398F #8F8D39 #3B8F39
monochromatic
#261637 #442863 #62398F #804DB8 #9F79CA

Accessibility & contrast

On white

8.40
#62398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#62398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62398F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62398F#FFFFFF#000000##FFFFFF
##62398F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#244D8D
Tritanopia (blue-blind)
#5A4A5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62398f;
/* rgb */ color: rgb(98, 57, 143);
/* oklch */ color: oklch(43.7% 0.138 303.1);
Tailwind
colors: {
  custom: {
    50: '#9271b0',
    500: '#62398f',
    950: '#000000',
  },
}
SCSS
$custom: #62398f;
$custom-light: #9271b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62398f",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 268.605,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43719,
    "c": 0.13847,
    "h": 303.1
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#62398F
secondary
#93B371
accent
#D35597
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62398F

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

Preview Lab → · Contrast checker → · Palette generator →

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