#6F2FB8#6F2FB8

#6F2FB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.201 H 299.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB8
RGBrgb(111, 47, 184)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.7%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.74, 54.33, -61.08)
CIE-LCHlch(35.74, 81.75, 311.66°)
OKLaboklab(47.04% 0.1 -0.1745)
OKLCHoklch(47.04% 0.201 299.8)
XYZxyz(16.2216, 8.8731, 46.1961)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB8 #78B82F
analogous
#2F34B8 #6F2FB8 #B32FB8
triadic
#6F2FB8 #B86F2F #2FB86F
tetradic
#6F2FB8 #B82F34 #78B82F #2FB8B3
square
#6F2FB8 #B82F34 #78B82F #2FB8B3
split-complementary
#6F2FB8 #B8B32F #34B82F
monochromatic
#341657 #522387 #6F2FB8 #8E52D3 #AE82DF

Accessibility & contrast

On white

7.57
#6F2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6F2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB8#FFFFFF#000000##FFFFFF
##6F2FB81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#5E5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2fb8;
/* rgb */ color: rgb(111, 47, 184);
/* oklch */ color: oklch(47.0% 0.201 299.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ece',
    500: '#6f2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb8;
$custom-light: #9f6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb8",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 268.029,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47045,
    "c": 0.20108,
    "h": 299.8
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#6F2FB8
secondary
#A4C87B
accent
#E24599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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