#6F25A8#6F25A8

#6F25A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.195 H 305.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6F25A8
RGBrgb(111, 37, 168)
HSLhsl(274, 64%, 40%)
HSVhsv(274, 78%, 66%)
CMYKcmyk(33.9%, 78%, 0%, 34.1%)
CIE-LABlab(32.98, 54.69, -56.03)
CIE-LCHlch(32.98, 78.30, 314.31°)
OKLaboklab(44.71% 0.1126 -0.1596)
OKLCHoklch(44.71% 0.195 305.2)
XYZxyz(14.2834, 7.5299, 37.7391)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25A8 #5EA825
analogous
#2E25A8 #6F25A8 #A8259F
triadic
#6F25A8 #A86F25 #25A86F
tetradic
#6F25A8 #A82E25 #5EA825 #259FA8
square
#6F25A8 #A82E25 #5EA825 #259FA8
split-complementary
#6F25A8 #9FA825 #25A82E
monochromatic
#2D0F44 #4E1A76 #6F25A8 #8F37D3 #AB69DE

Accessibility & contrast

On white

8.38
#6F25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25A8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25A8#FFFFFF#000000##FFFFFF
##6F25A81.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#644766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f25a8;
/* rgb */ color: rgb(111, 37, 168);
/* oklch */ color: oklch(44.7% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#9e68c3',
    500: '#6f25a8',
    950: '#000000',
  },
}
SCSS
$custom: #6f25a8;
$custom-light: #9e68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25a8",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 273.893,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.19531,
    "h": 305.2
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#6F25A8
secondary
#8EC465
accent
#E74189
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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