#6239AD#6239AD

#6239AD is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.175 H 294.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6239AD
RGBrgb(98, 57, 173)
HSLhsl(261, 50%, 45%)
HSVhsv(261, 67%, 68%)
CMYKcmyk(43.4%, 67.1%, 0%, 32.2%)
CIE-LABlab(35.08, 44.13, -55.68)
CIE-LCHlch(35.08, 71.05, 308.40°)
OKLaboklab(45.96% 0.0734 -0.1591)
OKLCHoklch(45.96% 0.175 294.8)
XYZxyz(14.0409, 8.5397, 40.4356)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239AD #84AD39
analogous
#394AAD #6239AD #9C39AD
triadic
#6239AD #AD6239 #39AD62
tetradic
#6239AD #AD394A #84AD39 #39AD9C
square
#6239AD #AD394A #84AD39 #39AD9C
split-complementary
#6239AD #AD9C39 #4AAD39
monochromatic
#2E1B51 #482A7F #6239AD #815AC9 #A588D8

Accessibility & contrast

On white

7.75
#6239AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6239AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239AD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239AD#FFFFFF#000000##FFFFFF
##6239AD1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#4E556E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6239ad;
/* rgb */ color: rgb(98, 57, 173);
/* oklch */ color: oklch(46.0% 0.175 294.8);
Tailwind
colors: {
  custom: {
    50: '#9572c6',
    500: '#6239ad',
    950: '#000000',
  },
}
SCSS
$custom: #6239ad;
$custom-light: #9572c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6239ad",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 261.207,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.17524,
    "h": 294.8
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#6239AD
secondary
#ABC280
accent
#DA4EA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6239AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6239AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva