#6B259B#6B259B

#6B259B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.181 H 307.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6B259B
RGBrgb(107, 37, 155)
HSLhsl(276, 61%, 38%)
HSVhsv(276, 76%, 61%)
CMYKcmyk(31%, 76.1%, 0%, 39.2%)
CIE-LABlab(31.38, 50.98, -50.79)
CIE-LCHlch(31.38, 71.96, 315.10°)
OKLaboklab(43.14% 0.1099 -0.1443)
OKLCHoklch(43.14% 0.181 307.3)
XYZxyz(12.6401, 6.8157, 31.6537)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B259B #559B25
analogous
#30259B #6B259B #9B2590
triadic
#6B259B #9B6B25 #259B6B
tetradic
#6B259B #9B3025 #559B25 #25909B
square
#6B259B #9B3025 #559B25 #25909B
split-complementary
#6B259B #909B25 #259B30
monochromatic
#270D38 #49196A #6B259B #8D31CC #A861D9

Accessibility & contrast

On white

8.89
#6B259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B259B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B259B#FFFFFF#000000##FFFFFF
##6B259B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#63425E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b259b;
/* rgb */ color: rgb(107, 37, 155);
/* oklch */ color: oklch(43.1% 0.181 307.3);
Tailwind
colors: {
  custom: {
    50: '#9a67b9',
    500: '#6b259b',
    950: '#000000',
  },
}
SCSS
$custom: #6b259b;
$custom-light: #9a67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b259b",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 275.593,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.18138,
    "h": 307.3
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#6B259B
secondary
#85BF5D
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6B259B

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

Preview Lab → · Contrast checker → · Palette generator →

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