#6F319F#6F319F

#6F319F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.172 H 306.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6F319F
RGBrgb(111, 49, 159)
HSLhsl(274, 53%, 41%)
HSVhsv(274, 69%, 62%)
CMYKcmyk(30.2%, 69.2%, 0%, 37.6%)
CIE-LABlab(34.15, 47.34, -48.72)
CIE-LCHlch(34.15, 67.93, 314.18°)
OKLaboklab(45.31% 0.1024 -0.1381)
OKLCHoklch(45.31% 0.172 306.5)
XYZxyz(13.9105, 8.0795, 33.6208)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F319F #619F31
analogous
#38319F #6F319F #9F3198
triadic
#6F319F #9F6F31 #319F6F
tetradic
#6F319F #9F3831 #619F31 #31989F
square
#6F319F #9F3831 #619F31 #31989F
split-complementary
#6F319F #989F31 #319F38
monochromatic
#2E1441 #4E2370 #6F319F #8F47C6 #AB76D5

Accessibility & contrast

On white

8.03
#6F319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F319F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F319F#FFFFFF#000000##FFFFFF
##6F319F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#674964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f319f;
/* rgb */ color: rgb(111, 49, 159);
/* oklch */ color: oklch(45.3% 0.172 306.5);
Tailwind
colors: {
  custom: {
    50: '#9c6ebc',
    500: '#6f319f',
    950: '#000000',
  },
}
SCSS
$custom: #6f319f;
$custom-light: #9c6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f319f",
  "rgb": {
    "r": 111,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 273.818,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.17196,
    "h": 306.5
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#6F319F
secondary
#91BD6F
accent
#DC4C8B
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F319F

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

Preview Lab → · Contrast checker → · Palette generator →

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