#62349F#62349F

#62349F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.165 H 299.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#62349F
RGBrgb(98, 52, 159)
HSLhsl(266, 51%, 41%)
HSVhsv(266, 67%, 62%)
CMYKcmyk(38.4%, 67.3%, 0%, 37.6%)
CIE-LABlab(33.04, 43.04, -50.59)
CIE-LCHlch(33.04, 66.42, 310.39°)
OKLaboklab(44.16% 0.0807 -0.1441)
OKLCHoklch(44.16% 0.165 299.2)
XYZxyz(12.5214, 7.5557, 33.5929)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62349F #719F34
analogous
#343C9F #62349F #98349F
triadic
#62349F #9F6234 #349F62
tetradic
#62349F #9F343C #719F34 #349F98
square
#62349F #9F343C #719F34 #349F98
split-complementary
#62349F #9F9834 #3C9F34
monochromatic
#291643 #462571 #62349F #804CC4 #A07AD3

Accessibility & contrast

On white

8.36
#62349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#62349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62349F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62349F#FFFFFF#000000##FFFFFF
##62349F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#544D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #62349f;
/* rgb */ color: rgb(98, 52, 159);
/* oklch */ color: oklch(44.2% 0.165 299.2);
Tailwind
colors: {
  custom: {
    50: '#946fbc',
    500: '#62349f',
    950: '#000000',
  },
}
SCSS
$custom: #62349f;
$custom-light: #946fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#62349f",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 265.794,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44155,
    "c": 0.16517,
    "h": 299.2
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#62349F
secondary
#9DBC73
accent
#DA4E9E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62349F

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

Preview Lab → · Contrast checker → · Palette generator →

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