#62318F#62318F

#62318F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.151 H 304.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#62318F
RGBrgb(98, 49, 143)
HSLhsl(271, 49%, 38%)
HSVhsv(271, 66%, 56%)
CMYKcmyk(31.5%, 65.7%, 0%, 43.9%)
CIE-LABlab(31.29, 40.49, -43.65)
CIE-LCHlch(31.29, 59.54, 312.85°)
OKLaboklab(42.53% 0.0858 -0.1237)
OKLCHoklch(42.53% 0.151 304.7)
XYZxyz(11.0921, 6.7765, 26.7049)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62318F #5E8F31
analogous
#33318F #62318F #8F318D
triadic
#62318F #8F6231 #318F62
tetradic
#62318F #8F3331 #5E8F31 #318D8F
square
#62318F #8F3331 #5E8F31 #318D8F
split-complementary
#62318F #8D8F31 #318F33
monochromatic
#241234 #432161 #62318F #8141BD #9F6DCD

Accessibility & contrast

On white

8.92
#62318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#62318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62318F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62318F#FFFFFF#000000##FFFFFF
##62318F1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#5A455B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62318f;
/* rgb */ color: rgb(98, 49, 143);
/* oklch */ color: oklch(42.5% 0.151 304.7);
Tailwind
colors: {
  custom: {
    50: '#926cb0',
    500: '#62318f',
    950: '#000000',
  },
}
SCSS
$custom: #62318f;
$custom-light: #926cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62318f",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 271.277,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.15057,
    "h": 304.7
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#62318F
secondary
#8CB567
accent
#D94F91
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #62318F

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

Preview Lab → · Contrast checker → · Palette generator →

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