#6F39B2#6F39B2

#6F39B2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.183 H 299.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6F39B2
RGBrgb(111, 57, 178)
HSLhsl(267, 51%, 46%)
HSVhsv(267, 68%, 70%)
CMYKcmyk(37.6%, 68%, 0%, 30.2%)
CIE-LABlab(36.97, 48.07, -55.53)
CIE-LCHlch(36.97, 73.45, 310.88°)
OKLaboklab(47.77% 0.0911 -0.1582)
OKLCHoklch(47.77% 0.183 299.9)
XYZxyz(16.0526, 9.5200, 43.1027)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39B2 #7CB239
analogous
#393FB2 #6F39B2 #AB39B2
triadic
#6F39B2 #B26F39 #39B26F
tetradic
#6F39B2 #B2393F #7CB239 #39B2AB
square
#6F39B2 #B2393F #7CB239 #39B2AB
split-complementary
#6F39B2 #B2AB39 #3FB239
monochromatic
#351B55 #522A84 #6F39B2 #8E5DCB #AE8BDA

Accessibility & contrast

On white

7.23
#6F39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6F39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F39B2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39B2#FFFFFF#000000##FFFFFF
##6F39B21.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#605571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f39b2;
/* rgb */ color: rgb(111, 57, 178);
/* oklch */ color: oklch(47.8% 0.183 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e73ca',
    500: '#6f39b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f39b2;
$custom-light: #9e73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39b2",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 266.777,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.18258,
    "h": 299.9
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#6F39B2
secondary
#A7C482
accent
#DB4D9C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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