#6B4397#6B4397

#6B4397 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.9% C 0.135 H 303.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6B4397
RGBrgb(107, 67, 151)
HSLhsl(269, 39%, 43%)
HSVhsv(269, 56%, 59%)
CMYKcmyk(29.1%, 55.6%, 0%, 40.8%)
CIE-LABlab(36.70, 34.74, -39.81)
CIE-LCHlch(36.70, 52.83, 311.11°)
OKLaboklab(46.89% 0.0746 -0.1122)
OKLCHoklch(46.89% 0.135 303.6)
XYZxyz(13.6552, 9.3745, 30.3622)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4397 #6F9743
analogous
#434597 #6B4397 #954397
triadic
#6B4397 #976B43 #43976B
tetradic
#6B4397 #974345 #6F9743 #439795
square
#6B4397 #974345 #6F9743 #439795
split-complementary
#6B4397 #979543 #459743
monochromatic
#2F1D42 #4D306D #6B4397 #895FB8 #A98ACB

Accessibility & contrast

On white

7.30
#6B4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6B4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B4397
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4397#FFFFFF#000000##FFFFFF
##6B43971.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#635366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b4397;
/* rgb */ color: rgb(107, 67, 151);
/* oklch */ color: oklch(46.9% 0.135 303.6);
Tailwind
colors: {
  custom: {
    50: '#9879b6',
    500: '#6b4397',
    950: '#000000',
  },
}
SCSS
$custom: #6b4397;
$custom-light: #9879b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4397",
  "rgb": {
    "r": 107,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 268.571,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46885,
    "c": 0.13474,
    "h": 303.6
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#6B4397
secondary
#9CB680
accent
#CE5997
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6B4397

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

Preview Lab → · Contrast checker → · Palette generator →

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