#62318E#62318E

#62318E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 305.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#62318E
RGBrgb(98, 49, 142)
HSLhsl(272, 49%, 37%)
HSVhsv(272, 65%, 56%)
CMYKcmyk(31%, 65.5%, 0%, 44.3%)
CIE-LABlab(31.22, 40.24, -43.15)
CIE-LCHlch(31.22, 59.00, 313.00°)
OKLaboklab(42.45% 0.0859 -0.1222)
OKLCHoklch(42.45% 0.149 305.1)
XYZxyz(11.0167, 6.7464, 26.3077)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62318E #5D8E31
analogous
#34318E #62318E #8E318B
triadic
#62318E #8E6231 #318E62
tetradic
#62318E #8E3431 #5D8E31 #318B8E
square
#62318E #8E3431 #5D8E31 #318B8E
split-complementary
#62318E #8B8E31 #318E34
monochromatic
#231233 #432161 #62318E #8141BB #9F6DCD

Accessibility & contrast

On white

8.94
#62318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#62318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62318E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62318E#FFFFFF#000000##FFFFFF
##62318E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#5A455B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62318e;
/* rgb */ color: rgb(98, 49, 142);
/* oklch */ color: oklch(42.5% 0.149 305.1);
Tailwind
colors: {
  custom: {
    50: '#926cb0',
    500: '#62318e',
    950: '#000000',
  },
}
SCSS
$custom: #62318e;
$custom-light: #926cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62318e",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 271.613,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.1494,
    "h": 305.1
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#62318E
secondary
#8BB467
accent
#D85090
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62318E

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

Preview Lab → · Contrast checker → · Palette generator →

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