#6239AE#6239AE

#6239AE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.176 H 294.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6239AE
RGBrgb(98, 57, 174)
HSLhsl(261, 51%, 45%)
HSVhsv(261, 67%, 68%)
CMYKcmyk(43.7%, 67.2%, 0%, 31.8%)
CIE-LABlab(35.16, 44.41, -56.15)
CIE-LCHlch(35.16, 71.59, 308.34°)
OKLaboklab(46.04% 0.0733 -0.1605)
OKLCHoklch(46.04% 0.176 294.5)
XYZxyz(14.1381, 8.5786, 40.9471)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239AE #85AE39
analogous
#394AAE #6239AE #9D39AE
triadic
#6239AE #AE6239 #39AE62
tetradic
#6239AE #AE394A #85AE39 #39AE9D
square
#6239AE #AE394A #85AE39 #39AE9D
split-complementary
#6239AE #AE9D39 #4AAE39
monochromatic
#2E1B52 #482A80 #6239AE #825BC9 #A589D8

Accessibility & contrast

On white

7.73
#6239AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6239AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239AE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239AE#FFFFFF#000000##FFFFFF
##6239AE1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#4D556F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6239ae;
/* rgb */ color: rgb(98, 57, 174);
/* oklch */ color: oklch(46.0% 0.176 294.5);
Tailwind
colors: {
  custom: {
    50: '#9572c7',
    500: '#6239ae',
    950: '#000000',
  },
}
SCSS
$custom: #6239ae;
$custom-light: #9572c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6239ae",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 261.026,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.17643,
    "h": 294.5
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#6239AE
secondary
#ABC380
accent
#DA4EA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6239AE

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

Preview Lab → · Contrast checker → · Palette generator →

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