#6F4792#6F4792

#6F4792 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.7% C 0.123 H 307.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6F4792
RGBrgb(111, 71, 146)
HSLhsl(272, 35%, 43%)
HSVhsv(272, 51%, 57%)
CMYKcmyk(24%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.77, 32.25, -35.03)
CIE-LCHlch(37.77, 47.62, 312.63°)
OKLaboklab(47.69% 0.0739 -0.0981)
OKLCHoklch(47.69% 0.123 307)
XYZxyz(13.9960, 9.9614, 28.3740)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4792 #6A9247
analogous
#4A4792 #6F4792 #92478F
triadic
#6F4792 #926F47 #47926F
tetradic
#6F4792 #924A47 #6A9247 #478F92
square
#6F4792 #924A47 #6A9247 #478F92
split-complementary
#6F4792 #8F9247 #47924A
monochromatic
#301F40 #503369 #6F4792 #8E63B3 #AC8CC7

Accessibility & contrast

On white

7.02
#6F4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6F4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F4792
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4792#FFFFFF#000000##FFFFFF
##6F47921.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325795
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#6A5466
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f4792;
/* rgb */ color: rgb(111, 71, 146);
/* oklch */ color: oklch(47.7% 0.123 307.0);
Tailwind
colors: {
  custom: {
    50: '#9a7bb2',
    500: '#6f4792',
    950: '#000000',
  },
}
SCSS
$custom: #6f4792;
$custom-light: #9a7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4792",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 272,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.12285,
    "h": 307
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#6F4792
secondary
#99B382
accent
#CB5D90
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6F4792

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

Preview Lab → · Contrast checker → · Palette generator →

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