#62368D#62368D

#62368D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.1% C 0.141 H 304.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#62368D
RGBrgb(98, 54, 141)
HSLhsl(270, 45%, 38%)
HSVhsv(270, 62%, 55%)
CMYKcmyk(30.5%, 61.7%, 0%, 44.7%)
CIE-LABlab(32.16, 37.25, -41.02)
CIE-LCHlch(32.16, 55.41, 312.25°)
OKLaboklab(43.12% 0.0796 -0.116)
OKLCHoklch(43.12% 0.141 304.5)
XYZxyz(11.1628, 7.1581, 25.9877)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62368D #618D36
analogous
#37368D #62368D #8D368C
triadic
#62368D #8D6236 #368D62
tetradic
#62368D #8D3736 #618D36 #368C8D
square
#62368D #8D3736 #618D36 #368C8D
split-complementary
#62368D #8C8D36 #368D37
monochromatic
#241434 #432561 #62368D #8147B9 #9F74CA

Accessibility & contrast

On white

8.64
#62368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#62368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62368D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62368D#FFFFFF#000000##FFFFFF
##62368D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094B90
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#5A485C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62368d;
/* rgb */ color: rgb(98, 54, 141);
/* oklch */ color: oklch(43.1% 0.141 304.5);
Tailwind
colors: {
  custom: {
    50: '#926faf',
    500: '#62368d',
    950: '#000000',
  },
}
SCSS
$custom: #62368d;
$custom-light: #926faf;
$custom-dark: #000000;
JSON
{
  "hex": "#62368d",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 270.345,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.14069,
    "h": 304.5
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#62368D
secondary
#8FB26D
accent
#D45393
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62368D

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

Preview Lab → · Contrast checker → · Palette generator →

#62368D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva