#6B2EAF#6B2EAF

#6B2EAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.192 H 300.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6B2EAF
RGBrgb(107, 46, 175)
HSLhsl(268, 58%, 43%)
HSVhsv(268, 74%, 69%)
CMYKcmyk(38.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(34.34, 51.85, -58.03)
CIE-LCHlch(34.34, 77.82, 311.78°)
OKLaboklab(45.72% 0.0971 -0.1656)
OKLCHoklch(45.72% 0.192 300.4)
XYZxyz(14.7763, 8.1748, 41.3485)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EAF #72AF2E
analogous
#2E31AF #6B2EAF #AB2EAF
triadic
#6B2EAF #AF6B2E #2EAF6B
tetradic
#6B2EAF #AF2E31 #72AF2E #2EAFAB
square
#6B2EAF #AF2E31 #72AF2E #2EAFAB
split-complementary
#6B2EAF #AFAB2E #31AF2E
monochromatic
#30154E #4D217F #6B2EAF #894BD0 #A97BDC

Accessibility & contrast

On white

7.97
#6B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6B2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2EAF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EAF#FFFFFF#000000##FFFFFF
##6B2EAF1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2eaf;
/* rgb */ color: rgb(107, 46, 175);
/* oklch */ color: oklch(45.7% 0.192 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b6dc8',
    500: '#6b2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eaf;
$custom-light: #9b6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eaf",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 268.372,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.19202,
    "h": 300.4
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#6B2EAF
secondary
#9FC574
accent
#E24698
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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