#62318A#62318A

#62318A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.145 H 306.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#62318A
RGBrgb(98, 49, 138)
HSLhsl(273, 48%, 37%)
HSVhsv(273, 64%, 54%)
CMYKcmyk(29%, 64.5%, 0%, 45.9%)
CIE-LABlab(30.95, 39.24, -41.13)
CIE-LCHlch(30.95, 56.84, 313.66°)
OKLaboklab(42.17% 0.0861 -0.1163)
OKLCHoklch(42.17% 0.145 306.5)
XYZxyz(10.7218, 6.6284, 24.7544)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62318A #598A31
analogous
#36318A #62318A #8A3186
triadic
#62318A #8A6231 #318A62
tetradic
#62318A #8A3631 #598A31 #31868A
square
#62318A #8A3631 #598A31 #31868A
split-complementary
#62318A #868A31 #318A36
monochromatic
#221130 #42215D #62318A #8241B7 #A06BCA

Accessibility & contrast

On white

9.03
#62318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#62318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62318A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62318A#FFFFFF#000000##FFFFFF
##62318A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#1F4988
Tritanopia (blue-blind)
#5B4359
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62318a;
/* rgb */ color: rgb(98, 49, 138);
/* oklch */ color: oklch(42.2% 0.145 306.5);
Tailwind
colors: {
  custom: {
    50: '#926cad',
    500: '#62318a',
    950: '#000000',
  },
}
SCSS
$custom: #62318a;
$custom-light: #926cad;
$custom-dark: #000000;
JSON
{
  "hex": "#62318a",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 273.034,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.14473,
    "h": 306.5
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#62318A
secondary
#88B265
accent
#D7518D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62318A

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

Preview Lab → · Contrast checker → · Palette generator →

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