#6F3EBB#6F3EBB

#6F3EBB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.186 H 297.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6F3EBB
RGBrgb(111, 62, 187)
HSLhsl(264, 50%, 49%)
HSVhsv(264, 67%, 73%)
CMYKcmyk(40.6%, 66.8%, 0%, 26.7%)
CIE-LABlab(38.57, 47.84, -58.24)
CIE-LCHlch(38.57, 75.36, 309.40°)
OKLaboklab(49.13% 0.0846 -0.1662)
OKLCHoklch(49.13% 0.186 297)
XYZxyz(17.2455, 10.4123, 48.1052)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EBB #8ABB3E
analogous
#3E4CBB #6F3EBB #AE3EBB
triadic
#6F3EBB #BB6F3E #3EBB6F
tetradic
#6F3EBB #BB3E4C #8ABB3E #3EBBAE
square
#6F3EBB #BB3E4C #8ABB3E #3EBBAE
split-complementary
#6F3EBB #BBAE3E #4CBB3E
monochromatic
#38205F #542F8D #6F3EBB #9069CD #B297DC

Accessibility & contrast

On white

6.81
#6F3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6F3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3EBB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EBB#FFFFFF#000000##FFFFFF
##6F3EBB1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#5C5B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f3ebb;
/* rgb */ color: rgb(111, 62, 187);
/* oklch */ color: oklch(49.1% 0.186 297.0);
Tailwind
colors: {
  custom: {
    50: '#9e76d0',
    500: '#6f3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #6f3ebb;
$custom-light: #9e76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3ebb",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 263.52,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.18647,
    "h": 297
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#6F3EBB
secondary
#B1C88D
accent
#DA4EA3
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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