#6B258C#6B258C

#6B258C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.166 H 312.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6B258C
RGBrgb(107, 37, 140)
HSLhsl(281, 58%, 35%)
HSVhsv(281, 74%, 55%)
CMYKcmyk(23.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(30.26, 47.59, -43.40)
CIE-LCHlch(30.26, 64.41, 317.64°)
OKLaboklab(41.99% 0.1124 -0.1226)
OKLCHoklch(41.99% 0.166 312.5)
XYZxyz(11.4577, 6.3427, 25.4266)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B258C #468C25
analogous
#38258C #6B258C #8C2579
triadic
#6B258C #8C6B25 #258C6B
tetradic
#6B258C #8C3825 #468C25 #25798C
square
#6B258C #8C3825 #468C25 #25798C
split-complementary
#6B258C #798C25 #258C38
monochromatic
#210B2B #46185C #6B258C #9032BC #AC58D3

Accessibility & contrast

On white

9.26
#6B258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6B258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B258C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B258C#FFFFFF#000000##FFFFFF
##6B258C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#673B56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b258c;
/* rgb */ color: rgb(107, 37, 140);
/* oklch */ color: oklch(42.0% 0.166 312.5);
Tailwind
colors: {
  custom: {
    50: '#9966ae',
    500: '#6b258c',
    950: '#000000',
  },
}
SCSS
$custom: #6b258c;
$custom-light: #9966ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b258c",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 280.777,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.16634,
    "h": 312.5
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#6B258C
secondary
#75B855
accent
#E14678
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B258C

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

Preview Lab → · Contrast checker → · Palette generator →

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