#62348D#62348D

#62348D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.144 H 304.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#62348D
RGBrgb(98, 52, 141)
HSLhsl(271, 46%, 38%)
HSVhsv(271, 63%, 55%)
CMYKcmyk(30.5%, 63.1%, 0%, 44.7%)
CIE-LABlab(31.75, 38.36, -41.68)
CIE-LCHlch(31.75, 56.65, 312.63°)
OKLaboklab(42.82% 0.0822 -0.1179)
OKLCHoklch(42.82% 0.144 304.9)
XYZxyz(11.0717, 6.9758, 25.9573)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62348D #5F8D34
analogous
#35348D #62348D #8D348B
triadic
#62348D #8D6234 #348D62
tetradic
#62348D #8D3534 #5F8D34 #348B8D
square
#62348D #8D3534 #5F8D34 #348B8D
split-complementary
#62348D #8B8D34 #348D35
monochromatic
#241334 #432460 #62348D #8144BA #9F71CB

Accessibility & contrast

On white

8.77
#62348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#62348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62348D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62348D#FFFFFF#000000##FFFFFF
##62348D1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#5A465B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62348d;
/* rgb */ color: rgb(98, 52, 141);
/* oklch */ color: oklch(42.8% 0.144 304.9);
Tailwind
colors: {
  custom: {
    50: '#926eaf',
    500: '#62348d',
    950: '#000000',
  },
}
SCSS
$custom: #62348d;
$custom-light: #926eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#62348d",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 271.011,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.14374,
    "h": 304.9
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#62348D
secondary
#8DB36A
accent
#D65292
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62348D

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

Preview Lab → · Contrast checker → · Palette generator →

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