#6139BA#6139BA

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

Color values

HEX#6139BA
RGBrgb(97, 57, 186)
HSLhsl(259, 53%, 48%)
HSVhsv(259, 69%, 73%)
CMYKcmyk(47.8%, 69.4%, 0%, 27.1%)
CIE-LABlab(36.01, 47.54, -61.89)
CIE-LCHlch(36.01, 78.04, 307.53°)
OKLaboklab(46.92% 0.07 -0.1774)
OKLCHoklch(46.92% 0.191 291.5)
XYZxyz(15.2533, 9.0123, 47.3807)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139BA #92BA39
analogous
#3951BA #6139BA #A239BA
triadic
#6139BA #BA6139 #39BA61
tetradic
#6139BA #BA3951 #92BA39 #39BAA2
square
#6139BA #BA3951 #92BA39 #39BAA2
split-complementary
#6139BA #BAA239 #51BA39
monochromatic
#301C5C #492B8B #6139BA #8361CF #A890DD

Accessibility & contrast

On white

7.49
#6139BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6139BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6139BA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139BA#FFFFFF#000000##FFFFFF
##6139BA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#455A75
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6139ba;
/* rgb */ color: rgb(97, 57, 186);
/* oklch */ color: oklch(46.9% 0.191 291.5);
Tailwind
colors: {
  custom: {
    50: '#9672d0',
    500: '#6139ba',
    950: '#000000',
  },
}
SCSS
$custom: #6139ba;
$custom-light: #9672d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6139ba",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 258.605,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.19069,
    "h": 291.5
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#6139BA
secondary
#B4C887
accent
#DC4BAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6139BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6139BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva