#62348E#62348E

#62348E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.145 H 304.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#62348E
RGBrgb(98, 52, 142)
HSLhsl(271, 46%, 38%)
HSVhsv(271, 63%, 56%)
CMYKcmyk(31%, 63.4%, 0%, 44.3%)
CIE-LABlab(31.82, 38.62, -42.19)
CIE-LCHlch(31.82, 57.19, 312.47°)
OKLaboklab(42.89% 0.0821 -0.1194)
OKLCHoklch(42.89% 0.145 304.5)
XYZxyz(11.1464, 7.0057, 26.3510)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62348E #608E34
analogous
#35348E #62348E #8E348D
triadic
#62348E #8E6234 #348E62
tetradic
#62348E #8E3534 #608E34 #348D8E
square
#62348E #8E3534 #608E34 #348D8E
split-complementary
#62348E #8D8E34 #348E35
monochromatic
#241334 #432461 #62348E #8144BB #9F71CB

Accessibility & contrast

On white

8.75
#62348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62348E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62348E#FFFFFF#000000##FFFFFF
##62348E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#5A475C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62348e;
/* rgb */ color: rgb(98, 52, 142);
/* oklch */ color: oklch(42.9% 0.145 304.5);
Tailwind
colors: {
  custom: {
    50: '#926eb0',
    500: '#62348e',
    950: '#000000',
  },
}
SCSS
$custom: #62348e;
$custom-light: #926eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62348e",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 270.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.14494,
    "h": 304.5
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#62348E
secondary
#8EB36A
accent
#D65292
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62348E

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

Preview Lab → · Contrast checker → · Palette generator →

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