#6F2D94#6F2D94

#6F2D94 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.166 H 310.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6F2D94
RGBrgb(111, 45, 148)
HSLhsl(278, 53%, 38%)
HSVhsv(278, 70%, 58%)
CMYKcmyk(25%, 69.6%, 0%, 42%)
CIE-LABlab(32.69, 46.68, -44.38)
CIE-LCHlch(32.69, 64.41, 316.44°)
OKLaboklab(44.02% 0.1081 -0.1254)
OKLCHoklch(44.02% 0.166 310.8)
XYZxyz(12.8382, 7.3947, 28.7622)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D94 #52942D
analogous
#3C2D94 #6F2D94 #942D85
triadic
#6F2D94 #946F2D #2D946F
tetradic
#6F2D94 #943C2D #52942D #2D8594
square
#6F2D94 #943C2D #52942D #2D8594
split-complementary
#6F2D94 #85942D #2D943C
monochromatic
#291036 #4C1F65 #6F2D94 #923BC3 #AC6AD2

Accessibility & contrast

On white

8.47
#6F2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2D94
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D94#FFFFFF#000000##FFFFFF
##6F2D941.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#6A435D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2d94;
/* rgb */ color: rgb(111, 45, 148);
/* oklch */ color: oklch(44.0% 0.166 310.8);
Tailwind
colors: {
  custom: {
    50: '#9c6bb4',
    500: '#6f2d94',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d94;
$custom-light: #9c6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d94",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 278.447,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.16557,
    "h": 310.8
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#6F2D94
secondary
#83B864
accent
#DD4B7F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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