#62308F#62308F

#62308F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.152 H 304.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#62308F
RGBrgb(98, 48, 143)
HSLhsl(272, 50%, 37%)
HSVhsv(272, 66%, 56%)
CMYKcmyk(31.5%, 66.4%, 0%, 43.9%)
CIE-LABlab(31.10, 41.02, -43.96)
CIE-LCHlch(31.10, 60.13, 313.02°)
OKLaboklab(42.39% 0.087 -0.1246)
OKLCHoklch(42.39% 0.152 304.9)
XYZxyz(11.0508, 6.6938, 26.6911)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62308F #5D8F30
analogous
#33308F #62308F #8F308C
triadic
#62308F #8F6230 #308F62
tetradic
#62308F #8F3330 #5D8F30 #308C8F
square
#62308F #8F3330 #5D8F30 #308C8F
split-complementary
#62308F #8C8F30 #308F33
monochromatic
#231133 #432161 #62308F #813FBD #9F6CCE

Accessibility & contrast

On white

8.98
#62308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#62308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62308F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62308F#FFFFFF#000000##FFFFFF
##62308F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#5A445B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62308f;
/* rgb */ color: rgb(98, 48, 143);
/* oklch */ color: oklch(42.4% 0.152 304.9);
Tailwind
colors: {
  custom: {
    50: '#926cb0',
    500: '#62308f',
    950: '#000000',
  },
}
SCSS
$custom: #62308f;
$custom-light: #926cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62308f",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 271.579,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.15202,
    "h": 304.9
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#62308F
secondary
#8BB566
accent
#D94F90
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #62308F

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

Preview Lab → · Contrast checker → · Palette generator →

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