#62368B#62368B

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

Color values

HEX#62368B
RGBrgb(98, 54, 139)
HSLhsl(271, 44%, 38%)
HSVhsv(271, 61%, 55%)
CMYKcmyk(29.5%, 61.2%, 0%, 45.5%)
CIE-LABlab(32.03, 36.74, -40.00)
CIE-LCHlch(32.03, 54.31, 312.57°)
OKLaboklab(42.98% 0.0796 -0.113)
OKLCHoklch(42.98% 0.138 305.2)
XYZxyz(11.0154, 7.0992, 25.2111)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62368B #5F8B36
analogous
#38368B #62368B #8B3689
triadic
#62368B #8B6236 #368B62
tetradic
#62368B #8B3836 #5F8B36 #36898B
square
#62368B #8B3836 #5F8B36 #36898B
split-complementary
#62368B #898B36 #368B38
monochromatic
#241433 #43255F #62368B #8147B7 #9F73C9

Accessibility & contrast

On white

8.68
#62368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#62368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62368B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62368B#FFFFFF#000000##FFFFFF
##62368B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8E
Deuteranopia (green-blind)
#244B89
Tritanopia (blue-blind)
#5B475B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62368b;
/* rgb */ color: rgb(98, 54, 139);
/* oklch */ color: oklch(43.0% 0.138 305.2);
Tailwind
colors: {
  custom: {
    50: '#926fad',
    500: '#62368b',
    950: '#000000',
  },
}
SCSS
$custom: #62368b;
$custom-light: #926fad;
$custom-dark: #000000;
JSON
{
  "hex": "#62368b",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 271.059,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.13824,
    "h": 305.2
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62368B

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

Preview Lab → · Contrast checker → · Palette generator →

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