#6F3898#6F3898

#6F3898 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.154 H 307.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6F3898
RGBrgb(111, 56, 152)
HSLhsl(274, 46%, 41%)
HSVhsv(274, 63%, 60%)
CMYKcmyk(27%, 63.2%, 0%, 40.4%)
CIE-LABlab(34.95, 42.12, -43.18)
CIE-LCHlch(34.95, 60.32, 314.29°)
OKLaboklab(45.74% 0.0946 -0.1219)
OKLCHoklch(45.74% 0.154 307.8)
XYZxyz(13.6361, 8.4750, 30.6172)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3898 #619838
analogous
#3F3898 #6F3898 #983891
triadic
#6F3898 #986F38 #38986F
tetradic
#6F3898 #983F38 #619838 #389198
square
#6F3898 #983F38 #619838 #389198
split-complementary
#6F3898 #919838 #38983F
monochromatic
#2E173F #4E286B #6F3898 #8F4FBE #AB7CCF

Accessibility & contrast

On white

7.79
#6F3898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6F3898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3898
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3898#FFFFFF#000000##FFFFFF
##6F38981.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509B
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#694B63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f3898;
/* rgb */ color: rgb(111, 56, 152);
/* oklch */ color: oklch(45.7% 0.154 307.8);
Tailwind
colors: {
  custom: {
    50: '#9c72b7',
    500: '#6f3898',
    950: '#000000',
  },
}
SCSS
$custom: #6f3898;
$custom-light: #9c72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3898",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 274.375,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.15431,
    "h": 307.8
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#6F3898
secondary
#91B874
accent
#D6528A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6F3898

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

Preview Lab → · Contrast checker → · Palette generator →

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