#6B259C#6B259C

#6B259C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 307.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6B259C
RGBrgb(107, 37, 156)
HSLhsl(275, 62%, 38%)
HSVhsv(275, 76%, 61%)
CMYKcmyk(31.4%, 76.3%, 0%, 38.8%)
CIE-LABlab(31.46, 51.21, -51.28)
CIE-LCHlch(31.46, 72.47, 314.96°)
OKLaboklab(43.22% 0.1097 -0.1457)
OKLCHoklch(43.22% 0.182 307)
XYZxyz(12.7244, 6.8494, 32.0978)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B259C #569C25
analogous
#2F259C #6B259C #9C2591
triadic
#6B259C #9C6B25 #259C6B
tetradic
#6B259C #9C2F25 #569C25 #25919C
square
#6B259C #9C2F25 #569C25 #25919C
split-complementary
#6B259C #919C25 #259C2F
monochromatic
#270E39 #49196B #6B259C #8D31CD #A862DA

Accessibility & contrast

On white

8.86
#6B259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6B259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B259C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B259C#FFFFFF#000000##FFFFFF
##6B259C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#63425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b259c;
/* rgb */ color: rgb(107, 37, 156);
/* oklch */ color: oklch(43.2% 0.182 307.0);
Tailwind
colors: {
  custom: {
    50: '#9a67ba',
    500: '#6b259c',
    950: '#000000',
  },
}
SCSS
$custom: #6b259c;
$custom-light: #9a67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6b259c",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 275.294,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.18238,
    "h": 307
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B259C

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

Preview Lab → · Contrast checker → · Palette generator →

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