#62358D#62358D

#62358D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.142 H 304.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#62358D
RGBrgb(98, 53, 141)
HSLhsl(271, 45%, 38%)
HSVhsv(271, 62%, 55%)
CMYKcmyk(30.5%, 62.4%, 0%, 44.7%)
CIE-LABlab(31.96, 37.81, -41.35)
CIE-LCHlch(31.96, 56.03, 312.44°)
OKLaboklab(42.97% 0.0809 -0.117)
OKLCHoklch(42.97% 0.142 304.7)
XYZxyz(11.1168, 7.0660, 25.9724)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62358D #608D35
analogous
#36358D #62358D #8D358C
triadic
#62358D #8D6235 #358D62
tetradic
#62358D #8D3635 #608D35 #358C8D
square
#62358D #8D3635 #608D35 #358C8D
split-complementary
#62358D #8C8D35 #358D36
monochromatic
#241434 #432461 #62358D #8146B9 #9F72CA

Accessibility & contrast

On white

8.70
#62358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62358D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62358D#FFFFFF#000000##FFFFFF
##62358D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#5A475C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62358d;
/* rgb */ color: rgb(98, 53, 141);
/* oklch */ color: oklch(43.0% 0.142 304.7);
Tailwind
colors: {
  custom: {
    50: '#926faf',
    500: '#62358d',
    950: '#000000',
  },
}
SCSS
$custom: #62358d;
$custom-light: #926faf;
$custom-dark: #000000;
JSON
{
  "hex": "#62358d",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 270.682,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.14222,
    "h": 304.7
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62358D

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

Preview Lab → · Contrast checker → · Palette generator →

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