#6239B9#6239B9

#6239B9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.190 H 292.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6239B9
RGBrgb(98, 57, 185)
HSLhsl(259, 53%, 47%)
HSVhsv(259, 69%, 73%)
CMYKcmyk(47%, 69.2%, 0%, 27.5%)
CIE-LABlab(36.03, 47.44, -61.25)
CIE-LCHlch(36.03, 77.48, 307.76°)
OKLaboklab(46.94% 0.0716 -0.1755)
OKLCHoklch(46.94% 0.19 292.2)
XYZxyz(15.2546, 9.0252, 46.8278)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239B9 #90B939
analogous
#3950B9 #6239B9 #A239B9
triadic
#6239B9 #B96239 #39B962
tetradic
#6239B9 #B93950 #90B939 #39B9A2
square
#6239B9 #B93950 #90B939 #39B9A2
split-complementary
#6239B9 #B9A239 #50B939
monochromatic
#301C5B #492B8A #6239B9 #8461CE #A890DD

Accessibility & contrast

On white

7.49
#6239B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6239B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239B9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239B9#FFFFFF#000000##FFFFFF
##6239B91.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#475975
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6239b9;
/* rgb */ color: rgb(98, 57, 185);
/* oklch */ color: oklch(46.9% 0.190 292.2);
Tailwind
colors: {
  custom: {
    50: '#9672cf',
    500: '#6239b9',
    950: '#000000',
  },
}
SCSS
$custom: #6239b9;
$custom-light: #9672cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6239b9",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 259.219,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.18953,
    "h": 292.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#6239B9
secondary
#B3C886
accent
#DC4BAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6239B9

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

Preview Lab → · Contrast checker → · Palette generator →

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