#6B259E#6B259E

#6B259E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.184 H 306.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6B259E
RGBrgb(107, 37, 158)
HSLhsl(275, 62%, 38%)
HSVhsv(275, 77%, 62%)
CMYKcmyk(32.3%, 76.6%, 0%, 38%)
CIE-LABlab(31.62, 51.67, -52.24)
CIE-LCHlch(31.62, 73.47, 314.69°)
OKLaboklab(43.38% 0.1092 -0.1486)
OKLCHoklch(43.38% 0.184 306.3)
XYZxyz(12.8952, 6.9177, 32.9970)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B259E #589E25
analogous
#2F259E #6B259E #9E2594
triadic
#6B259E #9E6B25 #259E6B
tetradic
#6B259E #9E2F25 #589E25 #25949E
square
#6B259E #9E2F25 #589E25 #25949E
split-complementary
#6B259E #949E25 #259E2F
monochromatic
#280E3B #49196C #6B259E #8C31CF #A863DA

Accessibility & contrast

On white

8.81
#6B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B259E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B259E#FFFFFF#000000##FFFFFF
##6B259E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b259e;
/* rgb */ color: rgb(107, 37, 158);
/* oklch */ color: oklch(43.4% 0.184 306.3);
Tailwind
colors: {
  custom: {
    50: '#9a67bb',
    500: '#6b259e',
    950: '#000000',
  },
}
SCSS
$custom: #6b259e;
$custom-light: #9a67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b259e",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 274.711,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.1844,
    "h": 306.3
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#6B259E
secondary
#88C05F
accent
#E54387
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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