#6F25A2#6F25A2

#6F25A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.189 H 307.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6F25A2
RGBrgb(111, 37, 162)
HSLhsl(276, 63%, 39%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(31.5%, 77.2%, 0%, 36.5%)
CIE-LABlab(32.51, 53.32, -53.19)
CIE-LCHlch(32.51, 75.32, 315.07°)
OKLaboklab(44.22% 0.114 -0.1512)
OKLCHoklch(44.22% 0.189 307)
XYZxyz(13.7373, 7.3114, 34.8630)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25A2 #58A225
analogous
#3125A2 #6F25A2 #A22597
triadic
#6F25A2 #A26F25 #25A26F
tetradic
#6F25A2 #A23125 #58A225 #2597A2
square
#6F25A2 #A23125 #58A225 #2597A2
split-complementary
#6F25A2 #97A225 #25A231
monochromatic
#2B0E3E #4D1A70 #6F25A2 #9134D1 #AC65DC

Accessibility & contrast

On white

8.53
#6F25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6F25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25A2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25A2#FFFFFF#000000##FFFFFF
##6F25A21.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#664462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f25a2;
/* rgb */ color: rgb(111, 37, 162);
/* oklch */ color: oklch(44.2% 0.189 307.0);
Tailwind
colors: {
  custom: {
    50: '#9d68be',
    500: '#6f25a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f25a2;
$custom-light: #9d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25a2",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 275.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.18938,
    "h": 307
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#6F25A2
secondary
#89C261
accent
#E64285
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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