#6239BD#6239BD

#6239BD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.194 H 291.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6239BD
RGBrgb(98, 57, 189)
HSLhsl(259, 54%, 48%)
HSVhsv(259, 70%, 74%)
CMYKcmyk(48.1%, 69.8%, 0%, 25.9%)
CIE-LABlab(36.36, 48.55, -63.08)
CIE-LCHlch(36.36, 79.60, 307.59°)
OKLaboklab(47.27% 0.0709 -0.1808)
OKLCHoklch(47.27% 0.194 291.4)
XYZxyz(15.6828, 9.1965, 49.0830)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239BD #94BD39
analogous
#3952BD #6239BD #A439BD
triadic
#6239BD #BD6239 #39BD62
tetradic
#6239BD #BD3952 #94BD39 #39BDA4
square
#6239BD #BD3952 #94BD39 #39BDA4
split-complementary
#6239BD #BDA439 #52BD39
monochromatic
#311D5F #4A2B8E #6239BD #8563D0 #AA92DE

Accessibility & contrast

On white

7.40
#6239BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6239BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239BD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239BD#FFFFFF#000000##FFFFFF
##6239BD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#455B77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6239bd;
/* rgb */ color: rgb(98, 57, 189);
/* oklch */ color: oklch(47.3% 0.194 291.4);
Tailwind
colors: {
  custom: {
    50: '#9773d2',
    500: '#6239bd',
    950: '#000000',
  },
}
SCSS
$custom: #6239bd;
$custom-light: #9773d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6239bd",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 258.636,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.19423,
    "h": 291.4
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#6239BD
secondary
#B5C989
accent
#DD4BB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6239BD

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

Preview Lab → · Contrast checker → · Palette generator →

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