#6D25B2#6D25B2

#6D25B2 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.205 H 301.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6D25B2
RGBrgb(109, 37, 178)
HSLhsl(271, 66%, 42%)
HSVhsv(271, 79%, 70%)
CMYKcmyk(38.8%, 79.2%, 0%, 30.2%)
CIE-LABlab(33.54, 56.69, -61.12)
CIE-LCHlch(33.54, 83.36, 312.84°)
OKLaboklab(45.29% 0.1071 -0.1746)
OKLCHoklch(45.29% 0.205 301.5)
XYZxyz(15.0022, 7.7886, 42.8238)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25B2 #6AB225
analogous
#2625B2 #6D25B2 #B225B1
triadic
#6D25B2 #B26D25 #25B26D
tetradic
#6D25B2 #B22625 #6AB225 #25B1B2
square
#6D25B2 #B22625 #6AB225 #25B1B2
split-complementary
#6D25B2 #B1B225 #25B226
monochromatic
#2F104D #4E1A7F #6D25B2 #8C3DD7 #AA70E1

Accessibility & contrast

On white

8.21
#6D25B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6D25B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D25B2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25B2#FFFFFF#000000##FFFFFF
##6D25B21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#5E4B6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d25b2;
/* rgb */ color: rgb(109, 37, 178);
/* oklch */ color: oklch(45.3% 0.205 301.5);
Tailwind
colors: {
  custom: {
    50: '#9d69ca',
    500: '#6d25b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d25b2;
$custom-light: #9d69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25b2",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 270.638,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45291,
    "c": 0.20481,
    "h": 301.5
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#6D25B2
secondary
#98C86B
accent
#E93F92
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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