#62358B#62358B

#62358B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.140 H 305.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#62358B
RGBrgb(98, 53, 139)
HSLhsl(271, 45%, 38%)
HSVhsv(271, 62%, 55%)
CMYKcmyk(29.5%, 61.9%, 0%, 45.5%)
CIE-LABlab(31.82, 37.30, -40.33)
CIE-LCHlch(31.82, 54.94, 312.76°)
OKLaboklab(42.83% 0.0809 -0.114)
OKLCHoklch(42.83% 0.14 305.4)
XYZxyz(10.9693, 7.0070, 25.1957)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62358B #5E8B35
analogous
#37358B #62358B #8B3589
triadic
#62358B #8B6235 #358B62
tetradic
#62358B #8B3735 #5E8B35 #35898B
square
#62358B #8B3735 #5E8B35 #35898B
split-complementary
#62358B #898B35 #358B37
monochromatic
#241332 #43245F #62358B #8146B7 #9F71C9

Accessibility & contrast

On white

8.74
#62358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#62358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62358B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62358B#FFFFFF#000000##FFFFFF
##62358B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8E
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#5B465B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62358b;
/* rgb */ color: rgb(98, 53, 139);
/* oklch */ color: oklch(42.8% 0.140 305.4);
Tailwind
colors: {
  custom: {
    50: '#926fad',
    500: '#62358b',
    950: '#000000',
  },
}
SCSS
$custom: #62358b;
$custom-light: #926fad;
$custom-dark: #000000;
JSON
{
  "hex": "#62358b",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 271.395,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.1398,
    "h": 305.4
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#62358B
secondary
#8CB16A
accent
#D45391
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62358B

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

Preview Lab → · Contrast checker → · Palette generator →

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