#6B259F#6B259F

#6B259F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.185 H 306.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6B259F
RGBrgb(107, 37, 159)
HSLhsl(274, 62%, 38%)
HSVhsv(274, 77%, 62%)
CMYKcmyk(32.7%, 76.7%, 0%, 37.6%)
CIE-LABlab(31.70, 51.90, -52.72)
CIE-LCHlch(31.70, 73.98, 314.55°)
OKLaboklab(43.46% 0.109 -0.15)
OKLCHoklch(43.46% 0.185 306)
XYZxyz(12.9816, 6.9523, 33.4522)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B259F #599F25
analogous
#2E259F #6B259F #9F2596
triadic
#6B259F #9F6B25 #259F6B
tetradic
#6B259F #9F2E25 #599F25 #25969F
square
#6B259F #9F2E25 #599F25 #25969F
split-complementary
#6B259F #969F25 #259F2E
monochromatic
#280E3C #4A196D #6B259F #8C32CF #A864DB

Accessibility & contrast

On white

8.79
#6B259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B259F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B259F#FFFFFF#000000##FFFFFF
##6B259F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#624361
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b259f;
/* rgb */ color: rgb(107, 37, 159);
/* oklch */ color: oklch(43.5% 0.185 306.0);
Tailwind
colors: {
  custom: {
    50: '#9a67bc',
    500: '#6b259f',
    950: '#000000',
  },
}
SCSS
$custom: #6b259f;
$custom-light: #9a67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b259f",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 274.426,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.1854,
    "h": 306
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#6B259F
secondary
#89C05F
accent
#E54288
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B259F

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

Preview Lab → · Contrast checker → · Palette generator →

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