#6B25A7#6B25A7

#6B25A7 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.193 H 303.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6B25A7
RGBrgb(107, 37, 167)
HSLhsl(272, 64%, 40%)
HSVhsv(272, 78%, 65%)
CMYKcmyk(35.9%, 77.8%, 0%, 34.5%)
CIE-LABlab(32.34, 53.77, -56.50)
CIE-LCHlch(32.34, 77.99, 313.58°)
OKLaboklab(44.11% 0.1071 -0.1611)
OKLCHoklch(44.11% 0.193 303.6)
XYZxyz(13.6984, 7.2390, 37.2273)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25A7 #61A725
analogous
#2A25A7 #6B25A7 #A725A2
triadic
#6B25A7 #A76B25 #25A76B
tetradic
#6B25A7 #A72A25 #61A725 #25A2A7
square
#6B25A7 #A72A25 #61A725 #25A2A7
split-complementary
#6B25A7 #A2A725 #25A72A
monochromatic
#2B0F43 #4B1A75 #6B25A7 #8B37D3 #A869DE

Accessibility & contrast

On white

8.58
#6B25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6B25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B25A7
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B25A7#FFFFFF#000000##FFFFFF
##6B25A71.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#5F4765
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b25a7;
/* rgb */ color: rgb(107, 37, 167);
/* oklch */ color: oklch(44.1% 0.193 303.6);
Tailwind
colors: {
  custom: {
    50: '#9b68c2',
    500: '#6b25a7',
    950: '#000000',
  },
}
SCSS
$custom: #6b25a7;
$custom-light: #9b68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25a7",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 272.308,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.19344,
    "h": 303.6
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#6B25A7
secondary
#90C464
accent
#E7418E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6B25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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