#62389C#62389C

#62389C is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.156 H 299.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#62389C
RGBrgb(98, 56, 156)
HSLhsl(265, 47%, 42%)
HSVhsv(265, 64%, 61%)
CMYKcmyk(37.2%, 64.1%, 0%, 38.8%)
CIE-LABlab(33.62, 40.07, -47.84)
CIE-LCHlch(33.62, 62.41, 309.95°)
OKLaboklab(44.5% 0.0763 -0.1361)
OKLCHoklch(44.5% 0.156 299.3)
XYZxyz(12.4504, 7.8252, 32.3005)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62389C #729C38
analogous
#38409C #62389C #94389C
triadic
#62389C #9C6238 #389C62
tetradic
#62389C #9C3840 #729C38 #389C94
square
#62389C #9C3840 #729C38 #389C94
split-complementary
#62389C #9C9438 #409C38
monochromatic
#291842 #46286F #62389C #8051C0 #A17ED1

Accessibility & contrast

On white

8.19
#62389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#62389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62389C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62389C#FFFFFF#000000##FFFFFF
##62389C1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#0A4E9A
Tritanopia (blue-blind)
#554E65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #62389c;
/* rgb */ color: rgb(98, 56, 156);
/* oklch */ color: oklch(44.5% 0.156 299.3);
Tailwind
colors: {
  custom: {
    50: '#9371ba',
    500: '#62389c',
    950: '#000000',
  },
}
SCSS
$custom: #62389c;
$custom-light: #9371ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62389c",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 265.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.15601,
    "h": 299.3
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#62389C
secondary
#9DBA76
accent
#D7519F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #62389C

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

Preview Lab → · Contrast checker → · Palette generator →

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