#6239A5#6239A5

#6239A5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.166 H 296.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6239A5
RGBrgb(98, 57, 165)
HSLhsl(263, 49%, 44%)
HSVhsv(263, 65%, 65%)
CMYKcmyk(40.6%, 65.5%, 0%, 35.3%)
CIE-LABlab(34.48, 41.95, -51.88)
CIE-LCHlch(34.48, 66.72, 308.96°)
OKLaboklab(45.33% 0.0744 -0.1479)
OKLCHoklch(45.33% 0.166 296.7)
XYZxyz(13.2899, 8.2393, 36.4802)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239A5 #7CA539
analogous
#3946A5 #6239A5 #9839A5
triadic
#6239A5 #A56239 #39A562
tetradic
#6239A5 #A53946 #7CA539 #39A598
square
#6239A5 #A53946 #7CA539 #39A598
split-complementary
#6239A5 #A59839 #46A539
monochromatic
#2C1A4A #472978 #6239A5 #8056C5 #A384D4

Accessibility & contrast

On white

7.93
#6239A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6239A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239A5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239A5#FFFFFF#000000##FFFFFF
##6239A51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#51526A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6239a5;
/* rgb */ color: rgb(98, 57, 165);
/* oklch */ color: oklch(45.3% 0.166 296.7);
Tailwind
colors: {
  custom: {
    50: '#9472c0',
    500: '#6239a5',
    950: '#000000',
  },
}
SCSS
$custom: #6239a5;
$custom-light: #9472c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6239a5",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 262.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.16557,
    "h": 296.7
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#6239A5
secondary
#A5BE7B
accent
#D850A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6239A5

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

Preview Lab → · Contrast checker → · Palette generator →

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