#62368A#62368A

#62368A is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.9% C 0.137 H 305.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#62368A
RGBrgb(98, 54, 138)
HSLhsl(271, 44%, 38%)
HSVhsv(271, 61%, 54%)
CMYKcmyk(29%, 60.9%, 0%, 45.9%)
CIE-LABlab(31.97, 36.49, -39.49)
CIE-LCHlch(31.97, 53.76, 312.74°)
OKLaboklab(42.91% 0.0796 -0.1115)
OKLCHoklch(42.91% 0.137 305.5)
XYZxyz(10.9426, 7.0701, 24.8280)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62368A #5E8A36
analogous
#38368A #62368A #8A3688
triadic
#62368A #8A6236 #368A62
tetradic
#62368A #8A3836 #5E8A36 #36888A
square
#62368A #8A3836 #5E8A36 #36888A
split-complementary
#62368A #888A36 #368A38
monochromatic
#241432 #43255E #62368A #8147B6 #9F72C8

Accessibility & contrast

On white

8.70
#62368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#62368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62368A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62368A#FFFFFF#000000##FFFFFF
##62368A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#5B475A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62368a;
/* rgb */ color: rgb(98, 54, 138);
/* oklch */ color: oklch(42.9% 0.137 305.5);
Tailwind
colors: {
  custom: {
    50: '#926fad',
    500: '#62368a',
    950: '#000000',
  },
}
SCSS
$custom: #62368a;
$custom-light: #926fad;
$custom-dark: #000000;
JSON
{
  "hex": "#62368a",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 271.429,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42908,
    "c": 0.13702,
    "h": 305.5
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#62368A
secondary
#8CB16B
accent
#D35491
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62368A

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

Preview Lab → · Contrast checker → · Palette generator →

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