#6239BF#6239BF

#6239BF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.197 H 291.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6239BF
RGBrgb(98, 57, 191)
HSLhsl(258, 54%, 49%)
HSVhsv(258, 70%, 75%)
CMYKcmyk(48.7%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.53, 49.11, -63.98)
CIE-LCHlch(36.53, 80.65, 307.51°)
OKLaboklab(47.44% 0.0705 -0.1835)
OKLCHoklch(47.44% 0.197 291)
XYZxyz(15.9014, 9.2839, 50.2342)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239BF #96BF39
analogous
#3953BF #6239BF #A539BF
triadic
#6239BF #BF6239 #39BF62
tetradic
#6239BF #BF3953 #96BF39 #39BFA5
square
#6239BF #BF3953 #96BF39 #39BFA5
split-complementary
#6239BF #BFA539 #53BF39
monochromatic
#321D61 #4A2B90 #6239BF #8664D1 #AB93DF

Accessibility & contrast

On white

7.35
#6239BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6239BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239BF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239BF#FFFFFF#000000##FFFFFF
##6239BF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#445B78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6239bf;
/* rgb */ color: rgb(98, 57, 191);
/* oklch */ color: oklch(47.4% 0.197 291.0);
Tailwind
colors: {
  custom: {
    50: '#9773d3',
    500: '#6239bf',
    950: '#000000',
  },
}
SCSS
$custom: #6239bf;
$custom-light: #9773d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6239bf",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 258.358,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.19658,
    "h": 291
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#6239BF
secondary
#B6CA8A
accent
#DD4AB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6239BF

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

Preview Lab → · Contrast checker → · Palette generator →

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