#62258F#62258F

#62258F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.167 H 306.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#62258F
RGBrgb(98, 37, 143)
HSLhsl(275, 59%, 35%)
HSVhsv(275, 74%, 56%)
CMYKcmyk(31.5%, 74.1%, 0%, 43.9%)
CIE-LABlab(29.17, 46.41, -47.09)
CIE-LCHlch(29.17, 66.11, 314.58°)
OKLaboklab(41.01% 0.0994 -0.1338)
OKLCHoklch(41.01% 0.167 306.6)
XYZxyz(10.6554, 5.9031, 26.5593)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62258F #528F25
analogous
#2D258F #62258F #8F2587
triadic
#62258F #8F6225 #258F62
tetradic
#62258F #8F2D25 #528F25 #25878F
square
#62258F #8F2D25 #528F25 #25878F
split-complementary
#62258F #878F25 #258F2D
monochromatic
#1F0C2E #41185E #62258F #8332C0 #A05AD4

Accessibility & contrast

On white

9.63
#62258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#62258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62258F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62258F#FFFFFF#000000##FFFFFF
##62258F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5A3E58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #62258f;
/* rgb */ color: rgb(98, 37, 143);
/* oklch */ color: oklch(41.0% 0.167 306.6);
Tailwind
colors: {
  custom: {
    50: '#9366b1',
    500: '#62258f',
    950: '#000000',
  },
}
SCSS
$custom: #62258f;
$custom-light: #9366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#62258f",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 274.528,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.16664,
    "h": 306.6
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#62258F
secondary
#80B957
accent
#E24688
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #62258F

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

Preview Lab → · Contrast checker → · Palette generator →

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