#6F25C4#6F25C4

#6F25C4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.223 H 298.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6F25C4
RGBrgb(111, 37, 196)
HSLhsl(268, 68%, 46%)
HSVhsv(268, 81%, 77%)
CMYKcmyk(43.4%, 81.1%, 0%, 23.1%)
CIE-LABlab(35.38, 61.24, -68.73)
CIE-LCHlch(35.38, 92.06, 311.70°)
OKLaboklab(47.11% 0.1046 -0.1969)
OKLCHoklch(47.11% 0.223 298)
XYZxyz(17.1783, 8.6879, 52.9857)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25C4 #7AC425
analogous
#252AC4 #6F25C4 #BE25C4
triadic
#6F25C4 #C46F25 #25C46F
tetradic
#6F25C4 #C4252A #7AC425 #25C4BE
square
#6F25C4 #C4252A #7AC425 #25C4BE
split-complementary
#6F25C4 #C4BE25 #2AC425
monochromatic
#35125D #521B91 #6F25C4 #8E49DD #AE7DE6

Accessibility & contrast

On white

7.67
#6F25C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6F25C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25C4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25C4#FFFFFF#000000##FFFFFF
##6F25C41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#595376
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f25c4;
/* rgb */ color: rgb(111, 37, 196);
/* oklch */ color: oklch(47.1% 0.223 298.0);
Tailwind
colors: {
  custom: {
    50: '#a16ad7',
    500: '#6f25c4',
    950: '#000000',
  },
}
SCSS
$custom: #6f25c4;
$custom-light: #a16ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25c4",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 267.925,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.22291,
    "h": 298
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#6F25C4
secondary
#A5CF76
accent
#EB3D9A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6F25C4

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

Preview Lab → · Contrast checker → · Palette generator →

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