#62318C#62318C

#62318C is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.147 H 305.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#62318C
RGBrgb(98, 49, 140)
HSLhsl(272, 48%, 37%)
HSVhsv(272, 65%, 55%)
CMYKcmyk(30%, 65%, 0%, 45.1%)
CIE-LABlab(31.08, 39.74, -42.14)
CIE-LCHlch(31.08, 57.92, 313.32°)
OKLaboklab(42.31% 0.086 -0.1193)
OKLCHoklch(42.31% 0.147 305.8)
XYZxyz(10.8679, 6.6868, 25.5240)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62318C #5B8C31
analogous
#35318C #62318C #8C3189
triadic
#62318C #8C6231 #318C62
tetradic
#62318C #8C3531 #5B8C31 #31898C
square
#62318C #8C3531 #5B8C31 #31898C
split-complementary
#62318C #898C31 #318C35
monochromatic
#231131 #42215F #62318C #8241B9 #9F6CCC

Accessibility & contrast

On white

8.98
#62318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#62318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62318C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62318C#FFFFFF#000000##FFFFFF
##62318C1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#5B445A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62318c;
/* rgb */ color: rgb(98, 49, 140);
/* oklch */ color: oklch(42.3% 0.147 305.8);
Tailwind
colors: {
  custom: {
    50: '#926cae',
    500: '#62318c',
    950: '#000000',
  },
}
SCSS
$custom: #62318c;
$custom-light: #926cae;
$custom-dark: #000000;
JSON
{
  "hex": "#62318c",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 272.308,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.14707,
    "h": 305.8
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#62318C
secondary
#89B366
accent
#D8508F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62318C

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

Preview Lab → · Contrast checker → · Palette generator →

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