#62348C#62348C

#62348C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.143 H 305.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#62348C
RGBrgb(98, 52, 140)
HSLhsl(271, 46%, 38%)
HSVhsv(271, 63%, 55%)
CMYKcmyk(30%, 62.9%, 0%, 45.1%)
CIE-LABlab(31.68, 38.11, -41.17)
CIE-LCHlch(31.68, 56.10, 312.79°)
OKLaboklab(42.75% 0.0822 -0.1164)
OKLCHoklch(42.75% 0.143 305.2)
XYZxyz(10.9976, 6.9462, 25.5672)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62348C #5E8C34
analogous
#36348C #62348C #8C348A
triadic
#62348C #8C6234 #348C62
tetradic
#62348C #8C3634 #5E8C34 #348A8C
square
#62348C #8C3634 #5E8C34 #348A8C
split-complementary
#62348C #8A8C34 #348C36
monochromatic
#241333 #43235F #62348C #8145B9 #9F70CA

Accessibility & contrast

On white

8.79
#62348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#62348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62348C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62348C#FFFFFF#000000##FFFFFF
##62348C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#204B8A
Tritanopia (blue-blind)
#5B465B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62348c;
/* rgb */ color: rgb(98, 52, 140);
/* oklch */ color: oklch(42.7% 0.143 305.2);
Tailwind
colors: {
  custom: {
    50: '#926eae',
    500: '#62348c',
    950: '#000000',
  },
}
SCSS
$custom: #62348c;
$custom-light: #926eae;
$custom-dark: #000000;
JSON
{
  "hex": "#62348c",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 271.364,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.14255,
    "h": 305.2
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#62348C
secondary
#8CB26A
accent
#D55291
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62348C

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

Preview Lab → · Contrast checker → · Palette generator →

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