#62308C#62308C

#62308C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.149 H 306.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#62308C
RGBrgb(98, 48, 140)
HSLhsl(273, 49%, 37%)
HSVhsv(273, 66%, 55%)
CMYKcmyk(30%, 65.7%, 0%, 45.1%)
CIE-LABlab(30.89, 40.27, -42.45)
CIE-LCHlch(30.89, 58.52, 313.49°)
OKLaboklab(42.17% 0.0873 -0.1202)
OKLCHoklch(42.17% 0.149 306)
XYZxyz(10.8266, 6.6041, 25.5102)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62308C #5A8C30
analogous
#34308C #62308C #8C3088
triadic
#62308C #8C6230 #308C62
tetradic
#62308C #8C3430 #5A8C30 #30888C
square
#62308C #8C3430 #5A8C30 #30888C
split-complementary
#62308C #888C30 #308C34
monochromatic
#221131 #42205E #62308C #8240BA #9F6ACC

Accessibility & contrast

On white

9.05
#62308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#62308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62308C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62308C#FFFFFF#000000##FFFFFF
##62308C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#5B4359
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62308c;
/* rgb */ color: rgb(98, 48, 140);
/* oklch */ color: oklch(42.2% 0.149 306.0);
Tailwind
colors: {
  custom: {
    50: '#926cae',
    500: '#62308c',
    950: '#000000',
  },
}
SCSS
$custom: #62308c;
$custom-light: #926cae;
$custom-dark: #000000;
JSON
{
  "hex": "#62308c",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 272.609,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.14854,
    "h": 306
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#62308C
secondary
#88B364
accent
#D84F8E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62308C

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

Preview Lab → · Contrast checker → · Palette generator →

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