#6F3294#6F3294

#6F3294 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.159 H 310.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6F3294
RGBrgb(111, 50, 148)
HSLhsl(277, 49%, 39%)
HSVhsv(277, 66%, 58%)
CMYKcmyk(25%, 66.2%, 0%, 42%)
CIE-LABlab(33.56, 44.26, -42.98)
CIE-LCHlch(33.56, 61.69, 315.84°)
OKLaboklab(44.65% 0.1022 -0.1213)
OKLCHoklch(44.65% 0.159 310.1)
XYZxyz(13.0404, 7.7991, 28.8296)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3294 #579432
analogous
#3E3294 #6F3294 #943288
triadic
#6F3294 #946F32 #32946F
tetradic
#6F3294 #943E32 #579432 #328894
square
#6F3294 #943E32 #579432 #328894
split-complementary
#6F3294 #889432 #32943E
monochromatic
#2A1339 #4D2366 #6F3294 #9144C0 #AC71CF

Accessibility & contrast

On white

8.20
#6F3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3294
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3294#FFFFFF#000000##FFFFFF
##6F32941.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#255092
Tritanopia (blue-blind)
#6A465E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f3294;
/* rgb */ color: rgb(111, 50, 148);
/* oklch */ color: oklch(44.6% 0.159 310.1);
Tailwind
colors: {
  custom: {
    50: '#9c6eb4',
    500: '#6f3294',
    950: '#000000',
  },
}
SCSS
$custom: #6f3294;
$custom-light: #9c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3294",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 277.347,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.15864,
    "h": 310.1
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#6F3294
secondary
#88B76B
accent
#D94F83
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6F3294

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

Preview Lab → · Contrast checker → · Palette generator →

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