#6F2D95#6F2D95

#6F2D95 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 310.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6F2D95
RGBrgb(111, 45, 149)
HSLhsl(278, 54%, 38%)
HSVhsv(278, 70%, 58%)
CMYKcmyk(25.5%, 69.8%, 0%, 41.6%)
CIE-LABlab(32.76, 46.90, -44.88)
CIE-LCHlch(32.76, 64.92, 316.26°)
OKLaboklab(44.1% 0.108 -0.1268)
OKLCHoklch(44.1% 0.167 310.4)
XYZxyz(12.9177, 7.4265, 29.1809)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D95 #53952D
analogous
#3B2D95 #6F2D95 #952D87
triadic
#6F2D95 #956F2D #2D956F
tetradic
#6F2D95 #953B2D #53952D #2D8795
square
#6F2D95 #953B2D #53952D #2D8795
split-complementary
#6F2D95 #87952D #2D953B
monochromatic
#291137 #4C1F66 #6F2D95 #923BC4 #AC6AD2

Accessibility & contrast

On white

8.45
#6F2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6F2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2D95
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D95#FFFFFF#000000##FFFFFF
##6F2D951.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2d95;
/* rgb */ color: rgb(111, 45, 149);
/* oklch */ color: oklch(44.1% 0.167 310.4);
Tailwind
colors: {
  custom: {
    50: '#9c6bb5',
    500: '#6f2d95',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d95;
$custom-light: #9c6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d95",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 278.077,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.16662,
    "h": 310.4
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#6F2D95
secondary
#84B965
accent
#DD4B80
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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