#6F2F9F#6F2F9F

#6F2F9F is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.175 H 306.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6F2F9F
RGBrgb(111, 47, 159)
HSLhsl(274, 54%, 40%)
HSVhsv(274, 70%, 62%)
CMYKcmyk(30.2%, 70.4%, 0%, 37.6%)
CIE-LABlab(33.81, 48.29, -49.27)
CIE-LCHlch(33.81, 68.99, 314.43°)
OKLaboklab(45.07% 0.1046 -0.1398)
OKLCHoklch(45.07% 0.175 306.8)
XYZxyz(13.8287, 7.9159, 33.5936)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2F9F #5F9F2F
analogous
#372F9F #6F2F9F #9F2F97
triadic
#6F2F9F #9F6F2F #2F9F6F
tetradic
#6F2F9F #9F372F #5F9F2F #2F979F
square
#6F2F9F #9F372F #5F9F2F #2F979F
split-complementary
#6F2F9F #979F2F #2F9F37
monochromatic
#2D1341 #4E2170 #6F2F9F #8F44C8 #AB73D6

Accessibility & contrast

On white

8.13
#6F2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F2F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2F9F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2F9F#FFFFFF#000000##FFFFFF
##6F2F9F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#674863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2f9f;
/* rgb */ color: rgb(111, 47, 159);
/* oklch */ color: oklch(45.1% 0.175 306.8);
Tailwind
colors: {
  custom: {
    50: '#9d6dbc',
    500: '#6f2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #6f2f9f;
$custom-light: #9d6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2f9f",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 274.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.17457,
    "h": 306.8
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#6F2F9F
secondary
#8FBD6D
accent
#DE4A89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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