#6F25B0#6F25B0

#6F25B0 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.203 H 303.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6F25B0
RGBrgb(111, 37, 176)
HSLhsl(272, 65%, 42%)
HSVhsv(272, 79%, 69%)
CMYKcmyk(36.9%, 79%, 0%, 31%)
CIE-LABlab(33.64, 56.54, -59.75)
CIE-LCHlch(33.64, 82.26, 313.42°)
OKLaboklab(45.37% 0.1105 -0.1705)
OKLCHoklch(45.37% 0.203 303)
XYZxyz(15.0517, 7.8372, 41.7856)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25B0 #66B025
analogous
#2925B0 #6F25B0 #B025AC
triadic
#6F25B0 #B06F25 #25B06F
tetradic
#6F25B0 #B02925 #66B025 #25ACB0
square
#6F25B0 #B02925 #66B025 #25ACB0
split-complementary
#6F25B0 #ACB025 #25B029
monochromatic
#2F104B #4F1A7D #6F25B0 #8E3CD6 #AB6FE1

Accessibility & contrast

On white

8.18
#6F25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25B0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25B0#FFFFFF#000000##FFFFFF
##6F25B01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#614A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f25b0;
/* rgb */ color: rgb(111, 37, 176);
/* oklch */ color: oklch(45.4% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f69c9',
    500: '#6f25b0',
    950: '#000000',
  },
}
SCSS
$custom: #6f25b0;
$custom-light: #9f69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25b0",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 271.942,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.2032,
    "h": 303
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#6F25B0
secondary
#95C76A
accent
#E8408E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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