#62307E#62307E

#62307E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.132 H 311.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#62307E
RGBrgb(98, 48, 126)
HSLhsl(278, 45%, 34%)
HSVhsv(278, 62%, 49%)
CMYKcmyk(22.2%, 61.9%, 0%, 50.6%)
CIE-LABlab(29.95, 36.85, -35.24)
CIE-LCHlch(29.95, 50.99, 316.28°)
OKLaboklab(41.19% 0.0877 -0.099)
OKLCHoklch(41.19% 0.132 311.5)
XYZxyz(9.8592, 6.2172, 20.4153)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62307E #4C7E30
analogous
#3B307E #62307E #7E3073
triadic
#62307E #7E6230 #307E62
tetradic
#62307E #7E3B30 #4C7E30 #30737E
square
#62307E #7E3B30 #4C7E30 #30737E
split-complementary
#62307E #737E30 #307E3B
monochromatic
#1D0E25 #401F52 #62307E #8441AA #A264C4

Accessibility & contrast

On white

9.36
#62307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#62307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62307E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62307E#FFFFFF#000000##FFFFFF
##62307E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#5F3E52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62307e;
/* rgb */ color: rgb(98, 48, 126);
/* oklch */ color: oklch(41.2% 0.132 311.5);
Tailwind
colors: {
  custom: {
    50: '#916ba4',
    500: '#62307e',
    950: '#000000',
  },
}
SCSS
$custom: #62307e;
$custom-light: #916ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#62307e",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 278.462,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.1323,
    "h": 311.5
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#62307E
secondary
#7AAB5F
accent
#D55382
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62307E

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

Preview Lab → · Contrast checker → · Palette generator →

#62307E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva