#62368C#62368C

#62368C is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.139 H 304.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#62368C
RGBrgb(98, 54, 140)
HSLhsl(271, 44%, 38%)
HSVhsv(271, 61%, 55%)
CMYKcmyk(30%, 61.4%, 0%, 45.1%)
CIE-LABlab(32.10, 37.00, -40.51)
CIE-LCHlch(32.10, 54.86, 312.41°)
OKLaboklab(43.05% 0.0796 -0.1145)
OKLCHoklch(43.05% 0.139 304.8)
XYZxyz(11.0888, 7.1285, 25.5976)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62368C #608C36
analogous
#37368C #62368C #8C368B
triadic
#62368C #8C6236 #368C62
tetradic
#62368C #8C3736 #608C36 #368B8C
square
#62368C #8C3736 #608C36 #368B8C
split-complementary
#62368C #8B8C36 #368C37
monochromatic
#241434 #432560 #62368C #8147B8 #9F73C9

Accessibility & contrast

On white

8.66
#62368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62368C
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62368C#FFFFFF#000000##FFFFFF
##62368C1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#234C8A
Tritanopia (blue-blind)
#5B475B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62368c;
/* rgb */ color: rgb(98, 54, 140);
/* oklch */ color: oklch(43.0% 0.139 304.8);
Tailwind
colors: {
  custom: {
    50: '#926fae',
    500: '#62368c',
    950: '#000000',
  },
}
SCSS
$custom: #62368c;
$custom-light: #926fae;
$custom-dark: #000000;
JSON
{
  "hex": "#62368c",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 270.698,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.13946,
    "h": 304.8
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#62368C
secondary
#8EB26C
accent
#D45492
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62368C

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

Preview Lab → · Contrast checker → · Palette generator →

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