#6239BC#6239BC

#6239BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.193 H 291.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6239BC
RGBrgb(98, 57, 188)
HSLhsl(259, 53%, 48%)
HSVhsv(259, 70%, 74%)
CMYKcmyk(47.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(36.28, 48.27, -62.62)
CIE-LCHlch(36.28, 79.07, 307.63°)
OKLaboklab(47.19% 0.0711 -0.1795)
OKLCHoklch(47.19% 0.193 291.6)
XYZxyz(15.5747, 9.1532, 48.5133)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239BC #93BC39
analogous
#3951BC #6239BC #A339BC
triadic
#6239BC #BC6239 #39BC62
tetradic
#6239BC #BC3951 #93BC39 #39BCA3
square
#6239BC #BC3951 #93BC39 #39BCA3
split-complementary
#6239BC #BCA339 #51BC39
monochromatic
#311D5E #4A2B8D #6239BC #8563D0 #A992DE

Accessibility & contrast

On white

7.42
#6239BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6239BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239BC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239BC#FFFFFF#000000##FFFFFF
##6239BC1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#455A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6239bc;
/* rgb */ color: rgb(98, 57, 188);
/* oklch */ color: oklch(47.2% 0.193 291.6);
Tailwind
colors: {
  custom: {
    50: '#9773d1',
    500: '#6239bc',
    950: '#000000',
  },
}
SCSS
$custom: #6239bc;
$custom-light: #9773d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6239bc",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 258.779,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.19306,
    "h": 291.6
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#6239BC
secondary
#B5C988
accent
#DD4BAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6239BC

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

Preview Lab → · Contrast checker → · Palette generator →

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