#B341F1#B341F1

#B341F1 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.4% C 0.253 H 310.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B341F1
RGBrgb(179, 65, 241)
HSLhsl(279, 86%, 60%)
HSVhsv(279, 73%, 95%)
CMYKcmyk(25.7%, 73%, 0%, 5.5%)
CIE-LABlab(51.51, 71.94, -67.82)
CIE-LCHlch(51.51, 98.86, 316.69°)
OKLaboklab(61.42% 0.1642 -0.1921)
OKLCHoklch(61.42% 0.253 310.5)
XYZxyz(36.3548, 19.7160, 85.0925)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B341F1 #7FF141
analogous
#5B41F1 #B341F1 #F141D7
triadic
#B341F1 #F1B341 #41F1B3
tetradic
#B341F1 #F15B41 #7FF141 #41D7F1
square
#B341F1 #F15B41 #7FF141 #41D7F1
split-complementary
#B341F1 #D7F141 #41F15B
monochromatic
#730DAB #9A11E4 #B341F1 #CA7AF5 #E1B3F9

Accessibility & contrast

On white

4.25
#B341F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B341F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B341F1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B341F1#FFFFFF#000000##000000
##B341F11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#1A7DED
Tritanopia (blue-blind)
#AB6A96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b341f1;
/* rgb */ color: rgb(179, 65, 241);
/* oklch */ color: oklch(61.4% 0.253 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf80f7',
    500: '#b341f1',
    950: '#000000',
  },
}
SCSS
$custom: #b341f1;
$custom-light: #cf80f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b341f1",
  "rgb": {
    "r": 179,
    "g": 65,
    "b": 241
  },
  "hsl": {
    "h": 278.864,
    "s": 86.275,
    "l": 60
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.2527,
    "h": 310.5
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#B341F1
secondary
#BDE9A5
accent
#FC2B75
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#140B17
muted
#837C85

Preview Lab

Preview with #B341F1

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

Preview Lab → · Contrast checker → · Palette generator →

#B341F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva