#6239AC#6239AC

#6239AC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.174 H 295.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6239AC
RGBrgb(98, 57, 172)
HSLhsl(261, 50%, 45%)
HSVhsv(261, 67%, 67%)
CMYKcmyk(43%, 66.9%, 0%, 32.5%)
CIE-LABlab(35.01, 43.86, -55.21)
CIE-LCHlch(35.01, 70.51, 308.46°)
OKLaboklab(45.88% 0.0735 -0.1577)
OKLCHoklch(45.88% 0.174 295)
XYZxyz(13.9445, 8.5011, 39.9279)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239AC #83AC39
analogous
#394AAC #6239AC #9B39AC
triadic
#6239AC #AC6239 #39AC62
tetradic
#6239AC #AC394A #83AC39 #39AC9B
square
#6239AC #AC394A #83AC39 #39AC9B
split-complementary
#6239AC #AC9B39 #4AAC39
monochromatic
#2E1B50 #482A7E #6239AC #815AC8 #A488D8

Accessibility & contrast

On white

7.78
#6239AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6239AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239AC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239AC#FFFFFF#000000##FFFFFF
##6239AC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#4E546D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6239ac;
/* rgb */ color: rgb(98, 57, 172);
/* oklch */ color: oklch(45.9% 0.174 295.0);
Tailwind
colors: {
  custom: {
    50: '#9572c6',
    500: '#6239ac',
    950: '#000000',
  },
}
SCSS
$custom: #6239ac;
$custom-light: #9572c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6239ac",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 261.391,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.17403,
    "h": 295
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6239AC

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

Preview Lab → · Contrast checker → · Palette generator →

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