#6F2E95#6F2E95

#6F2E95 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.165 H 310.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6F2E95
RGBrgb(111, 46, 149)
HSLhsl(278, 53%, 38%)
HSVhsv(278, 69%, 58%)
CMYKcmyk(25.5%, 69.1%, 0%, 41.6%)
CIE-LABlab(32.93, 46.43, -44.61)
CIE-LCHlch(32.93, 64.39, 316.15°)
OKLaboklab(44.22% 0.1069 -0.1261)
OKLCHoklch(44.22% 0.165 310.3)
XYZxyz(12.9563, 7.5037, 29.1938)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E95 #54952E
analogous
#3B2E95 #6F2E95 #952E87
triadic
#6F2E95 #956F2E #2E956F
tetradic
#6F2E95 #953B2E #54952E #2E8795
square
#6F2E95 #953B2E #54952E #2E8795
split-complementary
#6F2E95 #87952E #2E953B
monochromatic
#291137 #4C2066 #6F2E95 #923DC3 #AC6CD2

Accessibility & contrast

On white

8.40
#6F2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6F2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E95
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E95#FFFFFF#000000##FFFFFF
##6F2E951.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#1F4E93
Tritanopia (blue-blind)
#6A445E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f2e95;
/* rgb */ color: rgb(111, 46, 149);
/* oklch */ color: oklch(44.2% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#9c6cb5',
    500: '#6f2e95',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e95;
$custom-light: #9c6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e95",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 277.864,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.16528,
    "h": 310.3
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#6F2E95
secondary
#85B966
accent
#DC4C81
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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