#6B25B1#6B25B1

#6B25B1 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.203 H 300.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6B25B1
RGBrgb(107, 37, 177)
HSLhsl(270, 65%, 42%)
HSVhsv(270, 79%, 69%)
CMYKcmyk(39.5%, 79.1%, 0%, 30.6%)
CIE-LABlab(33.19, 56.13, -61.12)
CIE-LCHlch(33.19, 82.98, 312.57°)
OKLaboklab(44.96% 0.1044 -0.1746)
OKLCHoklch(44.96% 0.203 300.9)
XYZxyz(14.6588, 7.6231, 42.2856)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B25B1 #6BB125
analogous
#2525B1 #6B25B1 #B125B1
triadic
#6B25B1 #B16B25 #25B16B
tetradic
#6B25B1 #B12525 #6BB125 #25B1B1
square
#6B25B1 #B12525 #6BB125 #25B1B1
split-complementary
#6B25B1 #B1B125 #25B125
monochromatic
#2E104C #4C1A7E #6B25B1 #8A3DD6 #A86FE1

Accessibility & contrast

On white

8.32
#6B25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6B25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B25B1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B25B1#FFFFFF#000000##FFFFFF
##6B25B11.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#5B4B6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b25b1;
/* rgb */ color: rgb(107, 37, 177);
/* oklch */ color: oklch(45.0% 0.203 300.9);
Tailwind
colors: {
  custom: {
    50: '#9c68c9',
    500: '#6b25b1',
    950: '#000000',
  },
}
SCSS
$custom: #6b25b1;
$custom-light: #9c68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b25b1",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.20349,
    "h": 300.9
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#6B25B1
secondary
#99C86A
accent
#E83F94
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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