#6F39B3#6F39B3

#6F39B3 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.184 H 299.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6F39B3
RGBrgb(111, 57, 179)
HSLhsl(267, 52%, 46%)
HSVhsv(267, 68%, 70%)
CMYKcmyk(38%, 68.2%, 0%, 29.8%)
CIE-LABlab(37.04, 48.33, -56.00)
CIE-LCHlch(37.04, 73.97, 310.79°)
OKLaboklab(47.85% 0.091 -0.1596)
OKLCHoklch(47.85% 0.184 299.7)
XYZxyz(16.1533, 9.5603, 43.6334)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39B3 #7DB339
analogous
#3940B3 #6F39B3 #AC39B3
triadic
#6F39B3 #B36F39 #39B36F
tetradic
#6F39B3 #B33940 #7DB339 #39B3AC
square
#6F39B3 #B33940 #7DB339 #39B3AC
split-complementary
#6F39B3 #B3AC39 #40B339
monochromatic
#351B56 #522A85 #6F39B3 #8E5ECC #AF8CDA

Accessibility & contrast

On white

7.21
#6F39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F39B3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39B3#FFFFFF#000000##FFFFFF
##6F39B31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#605671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f39b3;
/* rgb */ color: rgb(111, 57, 179);
/* oklch */ color: oklch(47.8% 0.184 299.7);
Tailwind
colors: {
  custom: {
    50: '#9e73cb',
    500: '#6f39b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f39b3;
$custom-light: #9e73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39b3",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 266.557,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.18372,
    "h": 299.7
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#6F39B3
secondary
#A8C583
accent
#DB4D9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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