#6239B4#6239B4

#6239B4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.184 H 293.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6239B4
RGBrgb(98, 57, 180)
HSLhsl(260, 52%, 46%)
HSVhsv(260, 68%, 71%)
CMYKcmyk(45.6%, 68.3%, 0%, 29.4%)
CIE-LABlab(35.63, 46.06, -58.95)
CIE-LCHlch(35.63, 74.81, 308.00°)
OKLaboklab(46.52% 0.0724 -0.1687)
OKLCHoklch(46.52% 0.184 293.2)
XYZxyz(14.7361, 8.8178, 44.0967)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239B4 #8BB439
analogous
#394EB4 #6239B4 #A039B4
triadic
#6239B4 #B46239 #39B462
tetradic
#6239B4 #B4394E #8BB439 #39B4A0
square
#6239B4 #B4394E #8BB439 #39B4A0
split-complementary
#6239B4 #B4A039 #4EB439
monochromatic
#2F1C57 #492A86 #6239B4 #835ECC #A78DDB

Accessibility & contrast

On white

7.60
#6239B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6239B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239B4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239B4#FFFFFF#000000##FFFFFF
##6239B41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#4A5772
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6239b4;
/* rgb */ color: rgb(98, 57, 180);
/* oklch */ color: oklch(46.5% 0.184 293.2);
Tailwind
colors: {
  custom: {
    50: '#9672cb',
    500: '#6239b4',
    950: '#000000',
  },
}
SCSS
$custom: #6239b4;
$custom-light: #9672cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6239b4",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 260,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.18361,
    "h": 293.2
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#6239B4
secondary
#AFC583
accent
#DB4CAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6239B4

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

Preview Lab → · Contrast checker → · Palette generator →

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