#6F3BB2#6F3BB2

#6F3BB2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.180 H 299.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6F3BB2
RGBrgb(111, 59, 178)
HSLhsl(266, 50%, 46%)
HSVhsv(266, 67%, 70%)
CMYKcmyk(37.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(37.34, 47.05, -54.93)
CIE-LCHlch(37.34, 72.32, 310.58°)
OKLaboklab(48.04% 0.089 -0.1564)
OKLCHoklch(48.04% 0.18 299.6)
XYZxyz(16.1534, 9.7216, 43.1363)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3BB2 #7EB23B
analogous
#3B43B2 #6F3BB2 #AB3BB2
triadic
#6F3BB2 #B26F3B #3BB26F
tetradic
#6F3BB2 #B23B43 #7EB23B #3BB2AB
square
#6F3BB2 #B23B43 #7EB23B #3BB2AB
split-complementary
#6F3BB2 #B2AB3B #43B23B
monochromatic
#361D56 #522C84 #6F3BB2 #8E60CA #AF8EDA

Accessibility & contrast

On white

7.13
#6F3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6F3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3BB2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3BB2#FFFFFF#000000##FFFFFF
##6F3BB21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#605671
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f3bb2;
/* rgb */ color: rgb(111, 59, 178);
/* oklch */ color: oklch(48.0% 0.180 299.6);
Tailwind
colors: {
  custom: {
    50: '#9d74ca',
    500: '#6f3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3bb2;
$custom-light: #9d74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3bb2",
  "rgb": {
    "r": 111,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 266.218,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48038,
    "c": 0.17997,
    "h": 299.6
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#6F3BB2
secondary
#A8C485
accent
#DA4E9D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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