#6B3F92#6B3F92

#6B3F92 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.9% C 0.135 H 306.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6B3F92
RGBrgb(107, 63, 146)
HSLhsl(272, 40%, 41%)
HSVhsv(272, 57%, 57%)
CMYKcmyk(26.7%, 56.8%, 0%, 42.7%)
CIE-LABlab(35.51, 35.77, -38.66)
CIE-LCHlch(35.51, 52.67, 312.78°)
OKLaboklab(45.92% 0.0799 -0.1088)
OKLCHoklch(45.92% 0.135 306.3)
XYZxyz(13.0281, 8.7563, 28.1923)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3F92 #66923F
analogous
#413F92 #6B3F92 #923F8F
triadic
#6B3F92 #926B3F #3F926B
tetradic
#6B3F92 #92413F #66923F #3F8F92
square
#6B3F92 #92413F #66923F #3F8F92
split-complementary
#6B3F92 #8F923F #3F9241
monochromatic
#2C1A3C #4C2D67 #6B3F92 #8A57B7 #A882C9

Accessibility & contrast

On white

7.63
#6B3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6B3F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3F92
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3F92#FFFFFF#000000##FFFFFF
##6B3F921.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225295
Deuteranopia (green-blind)
#315490
Tritanopia (blue-blind)
#654E62
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b3f92;
/* rgb */ color: rgb(107, 63, 146);
/* oklch */ color: oklch(45.9% 0.135 306.3);
Tailwind
colors: {
  custom: {
    50: '#9876b2',
    500: '#6b3f92',
    950: '#000000',
  },
}
SCSS
$custom: #6b3f92;
$custom-light: #9876b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3f92",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 271.807,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.13501,
    "h": 306.3
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#6B3F92
secondary
#95B379
accent
#D05890
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6B3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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