#6F2F95#6F2F95

#6F2F95 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.164 H 310.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6F2F95
RGBrgb(111, 47, 149)
HSLhsl(278, 52%, 38%)
HSVhsv(278, 68%, 58%)
CMYKcmyk(25.5%, 68.5%, 0%, 41.6%)
CIE-LABlab(33.10, 45.96, -44.33)
CIE-LCHlch(33.10, 63.85, 316.03°)
OKLaboklab(44.34% 0.1057 -0.1253)
OKLCHoklch(44.34% 0.164 310.2)
XYZxyz(12.9958, 7.5827, 29.2069)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2F95 #55952F
analogous
#3C2F95 #6F2F95 #952F88
triadic
#6F2F95 #956F2F #2F956F
tetradic
#6F2F95 #953C2F #55952F #2F8895
square
#6F2F95 #953C2F #55952F #2F8895
split-complementary
#6F2F95 #88952F #2F953C
monochromatic
#2A1238 #4C2066 #6F2F95 #913FC2 #AC6DD1

Accessibility & contrast

On white

8.35
#6F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2F95
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2F95#FFFFFF#000000##FFFFFF
##6F2F951.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#6A445E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2f95;
/* rgb */ color: rgb(111, 47, 149);
/* oklch */ color: oklch(44.3% 0.164 310.2);
Tailwind
colors: {
  custom: {
    50: '#9c6cb5',
    500: '#6f2f95',
    950: '#000000',
  },
}
SCSS
$custom: #6f2f95;
$custom-light: #9c6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2f95",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 277.647,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.16392,
    "h": 310.2
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#6F2F95
secondary
#86B867
accent
#DB4C82
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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