#6B258A#6B258A

#6B258A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.164 H 313.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6B258A
RGBrgb(107, 37, 138)
HSLhsl(282, 58%, 34%)
HSVhsv(282, 73%, 54%)
CMYKcmyk(22.5%, 73.2%, 0%, 45.9%)
CIE-LABlab(30.12, 47.15, -42.39)
CIE-LCHlch(30.12, 63.41, 318.05°)
OKLaboklab(41.84% 0.1127 -0.1196)
OKLCHoklch(41.84% 0.164 313.3)
XYZxyz(11.3116, 6.2843, 24.6569)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B258A #448A25
analogous
#39258A #6B258A #8A2577
triadic
#6B258A #8A6B25 #258A6B
tetradic
#6B258A #8A3925 #448A25 #25778A
square
#6B258A #8A3925 #448A25 #25778A
split-complementary
#6B258A #778A25 #258A39
monochromatic
#200B29 #46185A #6B258A #9032BA #AC57D2

Accessibility & contrast

On white

9.31
#6B258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B258A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B258A#FFFFFF#000000##FFFFFF
##6B258A1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1D4888
Tritanopia (blue-blind)
#683B55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b258a;
/* rgb */ color: rgb(107, 37, 138);
/* oklch */ color: oklch(41.8% 0.164 313.3);
Tailwind
colors: {
  custom: {
    50: '#9966ad',
    500: '#6b258a',
    950: '#000000',
  },
}
SCSS
$custom: #6b258a;
$custom-light: #9966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b258a",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 281.584,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41842,
    "c": 0.16434,
    "h": 313.3
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#6B258A
secondary
#72B754
accent
#E14776
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B258A

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

Preview Lab → · Contrast checker → · Palette generator →

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