#62358C#62358C

#62358C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.141 H 305.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#62358C
RGBrgb(98, 53, 140)
HSLhsl(271, 45%, 38%)
HSVhsv(271, 62%, 55%)
CMYKcmyk(30%, 62.1%, 0%, 45.1%)
CIE-LABlab(31.89, 37.56, -40.84)
CIE-LCHlch(31.89, 55.49, 312.60°)
OKLaboklab(42.89% 0.0809 -0.1155)
OKLCHoklch(42.89% 0.141 305)
XYZxyz(11.0427, 7.0364, 25.5823)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62358C #5F8C35
analogous
#36358C #62358C #8C358B
triadic
#62358C #8C6235 #358C62
tetradic
#62358C #8C3635 #5F8C35 #358B8C
square
#62358C #8C3635 #5F8C35 #358B8C
split-complementary
#62358C #8B8C35 #358C36
monochromatic
#241333 #432460 #62358C #8146B8 #9F72CA

Accessibility & contrast

On white

8.72
#62358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#62358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62358C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62358C#FFFFFF#000000##FFFFFF
##62358C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A8F
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#5B475B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62358c;
/* rgb */ color: rgb(98, 53, 140);
/* oklch */ color: oklch(42.9% 0.141 305.0);
Tailwind
colors: {
  custom: {
    50: '#926fae',
    500: '#62358c',
    950: '#000000',
  },
}
SCSS
$custom: #62358c;
$custom-light: #926fae;
$custom-dark: #000000;
JSON
{
  "hex": "#62358c",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 271.034,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.14102,
    "h": 305
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#62358C
secondary
#8DB26B
accent
#D55392
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62358C

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

Preview Lab → · Contrast checker → · Palette generator →

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