#6A259B#6A259B

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

Color values

HEX#6A259B
RGBrgb(106, 37, 155)
HSLhsl(275, 61%, 38%)
HSVhsv(275, 76%, 61%)
CMYKcmyk(31.6%, 76.1%, 0%, 39.2%)
CIE-LABlab(31.24, 50.79, -51.03)
CIE-LCHlch(31.24, 72.00, 314.86°)
OKLaboklab(43.01% 0.1084 -0.1451)
OKLCHoklch(43.01% 0.181 306.8)
XYZxyz(12.5205, 6.7540, 31.6481)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A259B #569B25
analogous
#2F259B #6A259B #9B2591
triadic
#6A259B #9B6A25 #259B6A
tetradic
#6A259B #9B2F25 #569B25 #25919B
square
#6A259B #9B2F25 #569B25 #25919B
split-complementary
#6A259B #919B25 #259B2F
monochromatic
#260D38 #48196A #6A259B #8C31CC #A761D9

Accessibility & contrast

On white

8.93
#6A259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A259B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A259B#FFFFFF#000000##FFFFFF
##6A259B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#62425E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a259b;
/* rgb */ color: rgb(106, 37, 155);
/* oklch */ color: oklch(43.0% 0.181 306.8);
Tailwind
colors: {
  custom: {
    50: '#9967b9',
    500: '#6a259b',
    950: '#000000',
  },
}
SCSS
$custom: #6a259b;
$custom-light: #9967b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a259b",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 275.085,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.18111,
    "h": 306.8
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#6A259B
secondary
#86BF5D
accent
#E54386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A259B

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

Preview Lab → · Contrast checker → · Palette generator →

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