#6B289F#6B289F

#6B289F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.182 H 305.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6B289F
RGBrgb(107, 40, 159)
HSLhsl(274, 60%, 39%)
HSVhsv(274, 75%, 62%)
CMYKcmyk(32.7%, 74.8%, 0%, 37.6%)
CIE-LABlab(32.14, 50.64, -52.00)
CIE-LCHlch(32.14, 72.58, 314.24°)
OKLaboklab(43.77% 0.1062 -0.1479)
OKLCHoklch(43.77% 0.182 305.7)
XYZxyz(13.0788, 7.1467, 33.4846)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B289F #5C9F28
analogous
#30289F #6B289F #9F2898
triadic
#6B289F #9F6B28 #289F6B
tetradic
#6B289F #9F3028 #5C9F28 #28989F
square
#6B289F #9F3028 #5C9F28 #28989F
split-complementary
#6B289F #989F28 #289F30
monochromatic
#290F3D #4A1C6E #6B289F #8C37CD #A868D9

Accessibility & contrast

On white

8.64
#6B289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B289F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B289F#FFFFFF#000000##FFFFFF
##6B289F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#624561
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b289f;
/* rgb */ color: rgb(107, 40, 159);
/* oklch */ color: oklch(43.8% 0.182 305.7);
Tailwind
colors: {
  custom: {
    50: '#9a69bc',
    500: '#6b289f',
    950: '#000000',
  },
}
SCSS
$custom: #6b289f;
$custom-light: #9a69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b289f",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 273.782,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.18206,
    "h": 305.7
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#6B289F
secondary
#8CBF64
accent
#E3458A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B289F

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

Preview Lab → · Contrast checker → · Palette generator →

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