#6F2FB9#6F2FB9

#6F2FB9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.202 H 299.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB9
RGBrgb(111, 47, 185)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(40%, 74.6%, 0%, 27.5%)
CIE-LABlab(35.82, 54.58, -61.54)
CIE-LCHlch(35.82, 82.25, 311.57°)
OKLaboklab(47.13% 0.0997 -0.1758)
OKLCHoklch(47.13% 0.202 299.6)
XYZxyz(16.3268, 8.9151, 46.7501)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB9 #79B92F
analogous
#2F34B9 #6F2FB9 #B42FB9
triadic
#6F2FB9 #B96F2F #2FB96F
tetradic
#6F2FB9 #B92F34 #79B92F #2FB9B4
square
#6F2FB9 #B92F34 #79B92F #2FB9B4
split-complementary
#6F2FB9 #B9B42F #34B92F
monochromatic
#341657 #522388 #6F2FB9 #8E52D3 #AE83DF

Accessibility & contrast

On white

7.55
#6F2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6F2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB9#FFFFFF#000000##FFFFFF
##6F2FB91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#5D5372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2fb9;
/* rgb */ color: rgb(111, 47, 185);
/* oklch */ color: oklch(47.1% 0.202 299.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ecf',
    500: '#6f2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb9;
$custom-light: #9f6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb9",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 267.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.20214,
    "h": 299.6
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#6F2FB9
secondary
#A5C97B
accent
#E3459A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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