#6F308B#6F308B

#6F308B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.152 H 313.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6F308B
RGBrgb(111, 48, 139)
HSLhsl(282, 49%, 37%)
HSVhsv(282, 65%, 55%)
CMYKcmyk(20.1%, 65.5%, 0%, 45.5%)
CIE-LABlab(32.61, 43.20, -38.98)
CIE-LCHlch(32.61, 58.18, 317.94°)
OKLaboklab(43.77% 0.1051 -0.1096)
OKLCHoklch(43.77% 0.152 313.8)
XYZxyz(12.2719, 7.3579, 25.1948)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F308B #4C8B30
analogous
#41308B #6F308B #8B307A
triadic
#6F308B #8B6F30 #308B6F
tetradic
#6F308B #8B4130 #4C8B30 #307A8B
square
#6F308B #8B4130 #4C8B30 #307A8B
split-complementary
#6F308B #7A8B30 #308B41
monochromatic
#261130 #4B205E #6F308B #9340B8 #AD6ACC

Accessibility & contrast

On white

8.50
#6F308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F308B
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F308B#FFFFFF#000000##FFFFFF
##6F308B1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#6C4159
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f308b;
/* rgb */ color: rgb(111, 48, 139);
/* oklch */ color: oklch(43.8% 0.152 313.8);
Tailwind
colors: {
  custom: {
    50: '#9b6dad',
    500: '#6f308b',
    950: '#000000',
  },
}
SCSS
$custom: #6f308b;
$custom-light: #9b6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f308b",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 281.538,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.15185,
    "h": 313.8
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#6F308B
secondary
#7CB364
accent
#D8507A
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F308B

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

Preview Lab → · Contrast checker → · Palette generator →

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