#6F2CA3#6F2CA3

#6F2CA3 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.182 H 305.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA3
RGBrgb(111, 44, 163)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.9%, 73%, 0%, 36.1%)
CIE-LABlab(33.62, 50.61, -51.99)
CIE-LCHlch(33.62, 72.56, 314.22°)
OKLaboklab(45.03% 0.1071 -0.1477)
OKLCHoklch(45.03% 0.183 305.9)
XYZxyz(14.0656, 7.8253, 35.4127)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA3 #60A32C
analogous
#342CA3 #6F2CA3 #A32C9B
triadic
#6F2CA3 #A36F2C #2CA36F
tetradic
#6F2CA3 #A3342C #60A32C #2C9BA3
square
#6F2CA3 #A3342C #60A32C #2C9BA3
split-complementary
#6F2CA3 #9BA32C #2CA334
monochromatic
#2D1243 #4E1F73 #6F2CA3 #8F41CC #AB71D9

Accessibility & contrast

On white

8.19
#6F2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2CA3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA3#FFFFFF#000000##FFFFFF
##6F2CA31.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#664865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ca3;
/* rgb */ color: rgb(111, 44, 163);
/* oklch */ color: oklch(45.0% 0.182 305.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bbf',
    500: '#6f2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca3;
$custom-light: #9d6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca3",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 273.782,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.1825,
    "h": 305.9
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#6F2CA3
secondary
#90C06B
accent
#E1478A
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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