#62308B#62308B

#62308B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.147 H 306.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#62308B
RGBrgb(98, 48, 139)
HSLhsl(273, 49%, 37%)
HSVhsv(273, 65%, 55%)
CMYKcmyk(29.5%, 65.5%, 0%, 45.5%)
CIE-LABlab(30.82, 40.02, -41.95)
CIE-LCHlch(30.82, 57.98, 313.65°)
OKLaboklab(42.1% 0.0873 -0.1187)
OKLCHoklch(42.1% 0.147 306.3)
XYZxyz(10.7532, 6.5748, 25.1237)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62308B #598B30
analogous
#35308B #62308B #8B3087
triadic
#62308B #8B6230 #308B62
tetradic
#62308B #8B3530 #598B30 #30878B
square
#62308B #8B3530 #598B30 #30878B
split-complementary
#62308B #878B30 #308B35
monochromatic
#221130 #42205E #62308B #8240B8 #A06ACC

Accessibility & contrast

On white

9.07
#62308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62308B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62308B#FFFFFF#000000##FFFFFF
##62308B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62308b;
/* rgb */ color: rgb(98, 48, 139);
/* oklch */ color: oklch(42.1% 0.147 306.3);
Tailwind
colors: {
  custom: {
    50: '#926cad',
    500: '#62308b',
    950: '#000000',
  },
}
SCSS
$custom: #62308b;
$custom-light: #926cad;
$custom-dark: #000000;
JSON
{
  "hex": "#62308b",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 272.967,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.14738,
    "h": 306.3
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62308B

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

Preview Lab → · Contrast checker → · Palette generator →

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