#6B2F9F#6B2F9F

#6B2F9F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.174 H 304.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6B2F9F
RGBrgb(107, 47, 159)
HSLhsl(272, 54%, 40%)
HSVhsv(272, 70%, 62%)
CMYKcmyk(32.7%, 70.4%, 0%, 37.6%)
CIE-LABlab(33.27, 47.45, -50.17)
CIE-LCHlch(33.27, 69.05, 313.41°)
OKLaboklab(44.57% 0.099 -0.1425)
OKLCHoklch(44.57% 0.174 304.8)
XYZxyz(13.3365, 7.6621, 33.5705)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F9F #639F2F
analogous
#332F9F #6B2F9F #9F2F9B
triadic
#6B2F9F #9F6B2F #2F9F6B
tetradic
#6B2F9F #9F332F #639F2F #2F9B9F
square
#6B2F9F #9F332F #639F2F #2F9B9F
split-complementary
#6B2F9F #9B9F2F #2F9F33
monochromatic
#2B1341 #4B2170 #6B2F9F #8A44C8 #A873D6

Accessibility & contrast

On white

8.29
#6B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6B2F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F9F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F9F#FFFFFF#000000##FFFFFF
##6B2F9F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#614963
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b2f9f;
/* rgb */ color: rgb(107, 47, 159);
/* oklch */ color: oklch(44.6% 0.174 304.8);
Tailwind
colors: {
  custom: {
    50: '#9a6cbc',
    500: '#6b2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f9f;
$custom-light: #9a6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f9f",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 272.143,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.17355,
    "h": 304.8
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#6B2F9F
secondary
#92BD6D
accent
#DE4A8F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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