#6B308F#6B308F

#6B308F is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.155 H 310.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6B308F
RGBrgb(107, 48, 143)
HSLhsl(277, 50%, 37%)
HSVhsv(277, 66%, 56%)
CMYKcmyk(25.2%, 66.4%, 0%, 43.9%)
CIE-LABlab(32.31, 43.14, -41.95)
CIE-LCHlch(32.31, 60.18, 315.80°)
OKLaboklab(43.52% 0.0996 -0.1184)
OKLCHoklch(43.52% 0.155 310.1)
XYZxyz(12.0773, 7.2231, 26.7393)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B308F #548F30
analogous
#3B308F #6B308F #8F3084
triadic
#6B308F #8F6B30 #308F6B
tetradic
#6B308F #8F3B30 #548F30 #30848F
square
#6B308F #8F3B30 #548F30 #30848F
split-complementary
#6B308F #848F30 #308F3B
monochromatic
#261133 #492161 #6B308F #8D3FBD #A96CCE

Accessibility & contrast

On white

8.59
#6B308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6B308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B308F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B308F#FFFFFF#000000##FFFFFF
##6B308F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#66435B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b308f;
/* rgb */ color: rgb(107, 48, 143);
/* oklch */ color: oklch(43.5% 0.155 310.1);
Tailwind
colors: {
  custom: {
    50: '#996cb0',
    500: '#6b308f',
    950: '#000000',
  },
}
SCSS
$custom: #6b308f;
$custom-light: #996cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b308f",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 277.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.1547,
    "h": 310.1
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#6B308F
secondary
#84B566
accent
#D94F83
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B308F

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

Preview Lab → · Contrast checker → · Palette generator →

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