#62368E#62368E

#62368E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.2% C 0.142 H 304.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#62368E
RGBrgb(98, 54, 142)
HSLhsl(270, 45%, 38%)
HSVhsv(270, 62%, 56%)
CMYKcmyk(31%, 62%, 0%, 44.3%)
CIE-LABlab(32.23, 37.51, -41.53)
CIE-LCHlch(32.23, 55.96, 312.09°)
OKLaboklab(43.19% 0.0796 -0.1175)
OKLCHoklch(43.19% 0.142 304.1)
XYZxyz(11.2376, 7.1880, 26.3814)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62368E #628E36
analogous
#36368E #62368E #8E368E
triadic
#62368E #8E6236 #368E62
tetradic
#62368E #8E3636 #628E36 #368E8E
square
#62368E #8E3636 #628E36 #368E8E
split-complementary
#62368E #8E8E36 #368E36
monochromatic
#251435 #432562 #62368E #8148B9 #9F74CA

Accessibility & contrast

On white

8.62
#62368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#62368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62368E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62368E#FFFFFF#000000##FFFFFF
##62368E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B91
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#5A485D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62368e;
/* rgb */ color: rgb(98, 54, 142);
/* oklch */ color: oklch(43.2% 0.142 304.1);
Tailwind
colors: {
  custom: {
    50: '#926fb0',
    500: '#62368e',
    950: '#000000',
  },
}
SCSS
$custom: #62368e;
$custom-light: #926fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62368e",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 270,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.1419,
    "h": 304.1
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#62368E
secondary
#90B36D
accent
#D55394
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62368E

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

Preview Lab → · Contrast checker → · Palette generator →

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