#6F39BA#6F39BA

#6F39BA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.192 H 298.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6F39BA
RGBrgb(111, 57, 186)
HSLhsl(265, 53%, 48%)
HSVhsv(265, 69%, 73%)
CMYKcmyk(40.3%, 69.4%, 0%, 27.1%)
CIE-LABlab(37.57, 50.13, -59.27)
CIE-LCHlch(37.57, 77.63, 310.22°)
OKLaboklab(48.4% 0.0899 -0.1692)
OKLCHoklch(48.4% 0.192 298)
XYZxyz(16.8793, 9.8507, 47.4569)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39BA #84BA39
analogous
#3944BA #6F39BA #AF39BA
triadic
#6F39BA #BA6F39 #39BA6F
tetradic
#6F39BA #BA3944 #84BA39 #39BAAF
square
#6F39BA #BA3944 #84BA39 #39BAAF
split-complementary
#6F39BA #BAAF39 #44BA39
monochromatic
#371C5C #532B8B #6F39BA #8F61CF #B090DD

Accessibility & contrast

On white

7.07
#6F39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6F39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F39BA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39BA#FFFFFF#000000##FFFFFF
##6F39BA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#5D5875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f39ba;
/* rgb */ color: rgb(111, 57, 186);
/* oklch */ color: oklch(48.4% 0.192 298.0);
Tailwind
colors: {
  custom: {
    50: '#9e73d0',
    500: '#6f39ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f39ba;
$custom-light: #9e73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39ba",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 265.116,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.19163,
    "h": 298
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#6F39BA
secondary
#ADC887
accent
#DC4BA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F39BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6F39BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva