#6F3DBA#6F3DBA

#6F3DBA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.187 H 297.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6F3DBA
RGBrgb(111, 61, 186)
HSLhsl(264, 51%, 48%)
HSVhsv(264, 67%, 73%)
CMYKcmyk(40.3%, 67.2%, 0%, 27.1%)
CIE-LABlab(38.31, 48.09, -58.08)
CIE-LCHlch(38.31, 75.40, 309.63°)
OKLaboklab(48.92% 0.0858 -0.1657)
OKLCHoklch(48.92% 0.187 297.4)
XYZxyz(17.0849, 10.2619, 47.5255)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3DBA #88BA3D
analogous
#3D49BA #6F3DBA #AD3DBA
triadic
#6F3DBA #BA6F3D #3DBA6F
tetradic
#6F3DBA #BA3D49 #88BA3D #3DBAAD
square
#6F3DBA #BA3D49 #88BA3D #3DBAAD
split-complementary
#6F3DBA #BAAD3D #49BA3D
monochromatic
#381F5E #532E8C #6F3DBA #9067CD #B295DC

Accessibility & contrast

On white

6.88
#6F3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6F3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3DBA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3DBA#FFFFFF#000000##FFFFFF
##6F3DBA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#5C5B76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f3dba;
/* rgb */ color: rgb(111, 61, 186);
/* oklch */ color: oklch(48.9% 0.187 297.4);
Tailwind
colors: {
  custom: {
    50: '#9e76d0',
    500: '#6f3dba',
    950: '#000000',
  },
}
SCSS
$custom: #6f3dba;
$custom-light: #9e76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3dba",
  "rgb": {
    "r": 111,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 264,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.1866,
    "h": 297.4
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#6F3DBA
secondary
#AFC88B
accent
#DA4EA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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