#6B2DAF#6B2DAF

#6B2DAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.193 H 300.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6B2DAF
RGBrgb(107, 45, 175)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 74%, 69%)
CMYKcmyk(38.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(34.19, 52.30, -58.29)
CIE-LCHlch(34.19, 78.31, 311.90°)
OKLaboklab(45.61% 0.098 -0.1664)
OKLCHoklch(45.61% 0.193 300.5)
XYZxyz(14.7377, 8.0976, 41.3357)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DAF #71AF2D
analogous
#2D30AF #6B2DAF #AC2DAF
triadic
#6B2DAF #AF6B2D #2DAF6B
tetradic
#6B2DAF #AF2D30 #71AF2D #2DAFAC
square
#6B2DAF #AF2D30 #71AF2D #2DAFAC
split-complementary
#6B2DAF #AFAC2D #30AF2D
monochromatic
#2F144E #4D207E #6B2DAF #8949D0 #A97ADD

Accessibility & contrast

On white

8.02
#6B2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6B2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DAF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DAF#FFFFFF#000000##FFFFFF
##6B2DAF1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5C4E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2daf;
/* rgb */ color: rgb(107, 45, 175);
/* oklch */ color: oklch(45.6% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#9b6cc8',
    500: '#6b2daf',
    950: '#000000',
  },
}
SCSS
$custom: #6b2daf;
$custom-light: #9b6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2daf",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 268.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.19314,
    "h": 300.5
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#6B2DAF
secondary
#9EC573
accent
#E24698
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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