#62358F#62358F

#62358F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.145 H 304.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#62358F
RGBrgb(98, 53, 143)
HSLhsl(270, 46%, 38%)
HSVhsv(270, 63%, 56%)
CMYKcmyk(31.5%, 62.9%, 0%, 43.9%)
CIE-LABlab(32.09, 38.32, -42.36)
CIE-LCHlch(32.09, 57.13, 312.13°)
OKLaboklab(43.11% 0.0808 -0.1199)
OKLCHoklch(43.11% 0.145 304)
XYZxyz(11.2669, 7.1261, 26.7632)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62358F #628F35
analogous
#35358F #62358F #8F358F
triadic
#62358F #8F6235 #358F62
tetradic
#62358F #8F3535 #628F35 #358F8F
square
#62358F #8F3535 #628F35 #358F8F
split-complementary
#62358F #8F8F35 #358F35
monochromatic
#251436 #432462 #62358F #8147BB #9F73CB

Accessibility & contrast

On white

8.66
#62358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#62358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62358F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62358F#FFFFFF#000000##FFFFFF
##62358F1.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)
#004A92
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#5A485D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62358f;
/* rgb */ color: rgb(98, 53, 143);
/* oklch */ color: oklch(43.1% 0.145 304.0);
Tailwind
colors: {
  custom: {
    50: '#926fb0',
    500: '#62358f',
    950: '#000000',
  },
}
SCSS
$custom: #62358f;
$custom-light: #926fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62358f",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 270,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.14463,
    "h": 304
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#62358F
secondary
#90B46C
accent
#D65294
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62358F

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

Preview Lab → · Contrast checker → · Palette generator →

#62358F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva