#62349D#62349D

#62349D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.163 H 299.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#62349D
RGBrgb(98, 52, 157)
HSLhsl(266, 50%, 41%)
HSVhsv(266, 67%, 62%)
CMYKcmyk(37.6%, 66.9%, 0%, 38.4%)
CIE-LABlab(32.89, 42.51, -49.62)
CIE-LCHlch(32.89, 65.34, 310.58°)
OKLaboklab(44% 0.0809 -0.1413)
OKLCHoklch(44% 0.163 299.8)
XYZxyz(12.3493, 7.4869, 32.6862)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62349D #6F9D34
analogous
#343A9D #62349D #96349D
triadic
#62349D #9D6234 #349D62
tetradic
#62349D #9D343A #6F9D34 #349D96
square
#62349D #9D343A #6F9D34 #349D96
split-complementary
#62349D #9D9634 #3A9D34
monochromatic
#291641 #45256F #62349D #804BC3 #A079D3

Accessibility & contrast

On white

8.41
#62349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#62349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62349D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62349D#FFFFFF#000000##FFFFFF
##62349D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#554C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62349d;
/* rgb */ color: rgb(98, 52, 157);
/* oklch */ color: oklch(44.0% 0.163 299.8);
Tailwind
colors: {
  custom: {
    50: '#936fbb',
    500: '#62349d',
    950: '#000000',
  },
}
SCSS
$custom: #62349d;
$custom-light: #936fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#62349d",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 266.286,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44001,
    "c": 0.16281,
    "h": 299.8
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#62349D
secondary
#9BBB72
accent
#DA4E9D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62349D

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

Preview Lab → · Contrast checker → · Palette generator →

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