#6F3897#6F3897

#6F3897 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.153 H 308.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6F3897
RGBrgb(111, 56, 151)
HSLhsl(275, 46%, 41%)
HSVhsv(275, 63%, 59%)
CMYKcmyk(26.5%, 62.9%, 0%, 40.8%)
CIE-LABlab(34.89, 41.88, -42.68)
CIE-LCHlch(34.89, 59.79, 314.46°)
OKLaboklab(45.67% 0.0946 -0.1204)
OKLCHoklch(45.67% 0.153 308.2)
XYZxyz(13.5545, 8.4424, 30.1877)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3897 #609738
analogous
#3F3897 #6F3897 #97388F
triadic
#6F3897 #976F38 #38976F
tetradic
#6F3897 #973F38 #609738 #388F97
square
#6F3897 #973F38 #609738 #388F97
split-complementary
#6F3897 #8F9738 #38973F
monochromatic
#2D173E #4E276A #6F3897 #8F4FBE #AB7BCE

Accessibility & contrast

On white

7.81
#6F3897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6F3897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3897
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3897#FFFFFF#000000##FFFFFF
##6F38971.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509A
Deuteranopia (green-blind)
#295395
Tritanopia (blue-blind)
#694B62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f3897;
/* rgb */ color: rgb(111, 56, 151);
/* oklch */ color: oklch(45.7% 0.153 308.2);
Tailwind
colors: {
  custom: {
    50: '#9b72b6',
    500: '#6f3897',
    950: '#000000',
  },
}
SCSS
$custom: #6f3897;
$custom-light: #9b72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3897",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 274.737,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.15317,
    "h": 308.2
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#6F3897
secondary
#90B773
accent
#D6528A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6F3897

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

Preview Lab → · Contrast checker → · Palette generator →

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