#6B2FAF#6B2FAF

#6B2FAF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.191 H 300.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6B2FAF
RGBrgb(107, 47, 175)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(38.9%, 73.1%, 0%, 31.4%)
CIE-LABlab(34.51, 51.39, -57.77)
CIE-LCHlch(34.51, 77.32, 311.66°)
OKLaboklab(45.84% 0.0962 -0.1649)
OKLCHoklch(45.84% 0.191 300.2)
XYZxyz(14.8159, 8.2538, 41.3617)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FAF #73AF2F
analogous
#2F33AF #6B2FAF #AB2FAF
triadic
#6B2FAF #AF6B2F #2FAF6B
tetradic
#6B2FAF #AF2F33 #73AF2F #2FAFAB
square
#6B2FAF #AF2F33 #73AF2F #2FAFAB
split-complementary
#6B2FAF #AFAB2F #33AF2F
monochromatic
#30154F #4E227F #6B2FAF #8A4CCF #A97CDC

Accessibility & contrast

On white

7.92
#6B2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6B2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2FAF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FAF#FFFFFF#000000##FFFFFF
##6B2FAF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5B4F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2faf;
/* rgb */ color: rgb(107, 47, 175);
/* oklch */ color: oklch(45.8% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#9b6dc8',
    500: '#6b2faf',
    950: '#000000',
  },
}
SCSS
$custom: #6b2faf;
$custom-light: #9b6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2faf",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 268.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.19087,
    "h": 300.2
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#6B2FAF
secondary
#9FC475
accent
#E14799
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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