#6C4BAF#6C4BAF

#6C4BAF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.153 H 295.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6C4BAF
RGBrgb(108, 75, 175)
HSLhsl(260, 40%, 49%)
HSVhsv(260, 57%, 69%)
CMYKcmyk(38.3%, 57.1%, 0%, 31.4%)
CIE-LABlab(40.11, 36.73, -48.70)
CIE-LCHlch(40.11, 61.00, 307.02°)
OKLaboklab(49.91% 0.0661 -0.1383)
OKLCHoklch(49.91% 0.153 295.5)
XYZxyz(16.4363, 11.3151, 41.8672)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BAF #8EAF4B
analogous
#4B5CAF #6C4BAF #9E4BAF
triadic
#6C4BAF #AF6C4B #4BAF6C
tetradic
#6C4BAF #AF4B5C #8EAF4B #4BAF9E
square
#6C4BAF #AF4B5C #8EAF4B #4BAF9E
split-complementary
#6C4BAF #AF9E4B #5CAF4B
monochromatic
#372659 #523984 #6C4BAF #8E74C3 #B19FD6

Accessibility & contrast

On white

6.44
#6C4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6C4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BAF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BAF#FFFFFF#000000##FFFFFF
##6C4BAF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#5C6076
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c4baf;
/* rgb */ color: rgb(108, 75, 175);
/* oklch */ color: oklch(49.9% 0.153 295.5);
Tailwind
colors: {
  custom: {
    50: '#9a7ec7',
    500: '#6c4baf',
    950: '#000000',
  },
}
SCSS
$custom: #6c4baf;
$custom-light: #9a7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4baf",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 259.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.15324,
    "h": 295.5
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#6C4BAF
secondary
#B3C293
accent
#D058A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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