#62388C#62388C

#62388C is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.4% C 0.136 H 304.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#62388C
RGBrgb(98, 56, 140)
HSLhsl(270, 43%, 38%)
HSVhsv(270, 60%, 55%)
CMYKcmyk(30%, 60%, 0%, 45.1%)
CIE-LABlab(32.52, 35.87, -39.83)
CIE-LCHlch(32.52, 53.60, 312.00°)
OKLaboklab(43.36% 0.077 -0.1125)
OKLCHoklch(43.36% 0.136 304.4)
XYZxyz(11.1838, 7.3185, 25.6293)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62388C #628C38
analogous
#38388C #62388C #8C388C
triadic
#62388C #8C6238 #388C62
tetradic
#62388C #8C3838 #628C38 #388C8C
square
#62388C #8C3838 #628C38 #388C8C
split-complementary
#62388C #8C8C38 #388C38
monochromatic
#251535 #432760 #62388C #814AB7 #9F76C8

Accessibility & contrast

On white

8.52
#62388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#62388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62388C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62388C#FFFFFF#000000##FFFFFF
##62388C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#264C8A
Tritanopia (blue-blind)
#5B495C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62388c;
/* rgb */ color: rgb(98, 56, 140);
/* oklch */ color: oklch(43.4% 0.136 304.4);
Tailwind
colors: {
  custom: {
    50: '#9271ae',
    500: '#62388c',
    950: '#000000',
  },
}
SCSS
$custom: #62388c;
$custom-light: #9271ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62388c",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 270,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.13632,
    "h": 304.4
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#62388C
secondary
#90B16F
accent
#D35594
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62388C

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

Preview Lab → · Contrast checker → · Palette generator →

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