#6B259D#6B259D

#6B259D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.183 H 306.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6B259D
RGBrgb(107, 37, 157)
HSLhsl(275, 62%, 38%)
HSVhsv(275, 76%, 62%)
CMYKcmyk(31.8%, 76.4%, 0%, 38.4%)
CIE-LABlab(31.54, 51.44, -51.76)
CIE-LCHlch(31.54, 72.97, 314.82°)
OKLaboklab(43.3% 0.1094 -0.1472)
OKLCHoklch(43.3% 0.183 306.6)
XYZxyz(12.8095, 6.8834, 32.5456)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B259D #579D25
analogous
#2F259D #6B259D #9D2593
triadic
#6B259D #9D6B25 #259D6B
tetradic
#6B259D #9D2F25 #579D25 #25939D
square
#6B259D #9D2F25 #579D25 #25939D
split-complementary
#6B259D #939D25 #259D2F
monochromatic
#270E3A #49196B #6B259D #8D31CE #A862DA

Accessibility & contrast

On white

8.84
#6B259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B259D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B259D#FFFFFF#000000##FFFFFF
##6B259D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#624360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b259d;
/* rgb */ color: rgb(107, 37, 157);
/* oklch */ color: oklch(43.3% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6b259d',
    950: '#000000',
  },
}
SCSS
$custom: #6b259d;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b259d",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 275,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.18339,
    "h": 306.6
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#6B259D
secondary
#87BF5E
accent
#E54386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B259D

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

Preview Lab → · Contrast checker → · Palette generator →

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