#62348A#62348A

#62348A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.140 H 305.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#62348A
RGBrgb(98, 52, 138)
HSLhsl(272, 45%, 37%)
HSVhsv(272, 62%, 54%)
CMYKcmyk(29%, 62.3%, 0%, 45.9%)
CIE-LABlab(31.55, 37.60, -40.15)
CIE-LCHlch(31.55, 55.01, 313.12°)
OKLaboklab(42.6% 0.0823 -0.1135)
OKLCHoklch(42.6% 0.14 305.9)
XYZxyz(10.8515, 6.8877, 24.7976)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62348A #5C8A34
analogous
#37348A #62348A #8A3487
triadic
#62348A #8A6234 #348A62
tetradic
#62348A #8A3734 #5C8A34 #34878A
square
#62348A #8A3734 #5C8A34 #34878A
split-complementary
#62348A #878A34 #348A37
monochromatic
#231331 #42235E #62348A #8245B6 #9F6FC9

Accessibility & contrast

On white

8.83
#62348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#62348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62348A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62348A#FFFFFF#000000##FFFFFF
##62348A1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#5B455A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62348a;
/* rgb */ color: rgb(98, 52, 138);
/* oklch */ color: oklch(42.6% 0.140 305.9);
Tailwind
colors: {
  custom: {
    50: '#926ead',
    500: '#62348a',
    950: '#000000',
  },
}
SCSS
$custom: #62348a;
$custom-light: #926ead;
$custom-dark: #000000;
JSON
{
  "hex": "#62348a",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 272.093,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.14015,
    "h": 305.9
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#62348A
secondary
#8AB169
accent
#D5538F
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62348A

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

Preview Lab → · Contrast checker → · Palette generator →

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