#6239BB#6239BB

#6239BB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.192 H 291.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6239BB
RGBrgb(98, 57, 187)
HSLhsl(259, 53%, 48%)
HSVhsv(259, 70%, 73%)
CMYKcmyk(47.6%, 69.5%, 0%, 26.7%)
CIE-LABlab(36.20, 48.00, -62.17)
CIE-LCHlch(36.20, 78.54, 307.67°)
OKLaboklab(47.1% 0.0712 -0.1782)
OKLCHoklch(47.1% 0.192 291.8)
XYZxyz(15.4673, 9.1102, 47.9476)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239BB #92BB39
analogous
#3951BB #6239BB #A339BB
triadic
#6239BB #BB6239 #39BB62
tetradic
#6239BB #BB3951 #92BB39 #39BBA3
square
#6239BB #BB3951 #92BB39 #39BBA3
split-complementary
#6239BB #BBA339 #51BB39
monochromatic
#311C5D #492B8C #6239BB #8462CF #A991DD

Accessibility & contrast

On white

7.44
#6239BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6239BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239BB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239BB#FFFFFF#000000##FFFFFF
##6239BB1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#465A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6239bb;
/* rgb */ color: rgb(98, 57, 187);
/* oklch */ color: oklch(47.1% 0.192 291.8);
Tailwind
colors: {
  custom: {
    50: '#9673d0',
    500: '#6239bb',
    950: '#000000',
  },
}
SCSS
$custom: #6239bb;
$custom-light: #9673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6239bb",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 258.923,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47104,
    "c": 0.19188,
    "h": 291.8
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#6239BB
secondary
#B4C887
accent
#DD4BAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6239BB

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

Preview Lab → · Contrast checker → · Palette generator →

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