#62308E#62308E

#62308E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.151 H 305.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#62308E
RGBrgb(98, 48, 142)
HSLhsl(272, 49%, 37%)
HSVhsv(272, 66%, 56%)
CMYKcmyk(31%, 66.2%, 0%, 44.3%)
CIE-LABlab(31.03, 40.77, -43.46)
CIE-LCHlch(31.03, 59.59, 313.17°)
OKLaboklab(42.32% 0.0871 -0.1232)
OKLCHoklch(42.32% 0.151 305.3)
XYZxyz(10.9754, 6.6636, 26.2940)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62308E #5C8E30
analogous
#33308E #62308E #8E308B
triadic
#62308E #8E6230 #308E62
tetradic
#62308E #8E3330 #5C8E30 #308B8E
square
#62308E #8E3330 #5C8E30 #308B8E
split-complementary
#62308E #8B8E30 #308E33
monochromatic
#231133 #422160 #62308E #823FBC #9F6BCD

Accessibility & contrast

On white

9.00
#62308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#62308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62308E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62308E#FFFFFF#000000##FFFFFF
##62308E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#5A445A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62308e;
/* rgb */ color: rgb(98, 48, 142);
/* oklch */ color: oklch(42.3% 0.151 305.3);
Tailwind
colors: {
  custom: {
    50: '#926cb0',
    500: '#62308e',
    950: '#000000',
  },
}
SCSS
$custom: #62308e;
$custom-light: #926cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62308e",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 271.915,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.15086,
    "h": 305.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#62308E
secondary
#8AB465
accent
#D94F8F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62308E

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

Preview Lab → · Contrast checker → · Palette generator →

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