#6F258E#6F258E

#6F258E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.170 H 313.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6F258E
RGBrgb(111, 37, 142)
HSLhsl(282, 59%, 35%)
HSVhsv(282, 74%, 56%)
CMYKcmyk(21.8%, 73.9%, 0%, 44.3%)
CIE-LABlab(31.01, 48.89, -43.40)
CIE-LCHlch(31.01, 65.37, 318.40°)
OKLaboklab(42.69% 0.1176 -0.1224)
OKLCHoklch(42.69% 0.17 313.8)
XYZxyz(12.0988, 6.6560, 26.2334)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F258E #448E25
analogous
#3B258E #6F258E #8E2578
triadic
#6F258E #8E6F25 #258E6F
tetradic
#6F258E #8E3B25 #448E25 #25788E
square
#6F258E #8E3B25 #448E25 #25788E
split-complementary
#6F258E #788E25 #258E3B
monochromatic
#230C2D #49185D #6F258E #9532BF #B05AD4

Accessibility & contrast

On white

9.01
#6F258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F258E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F258E#FFFFFF#000000##FFFFFF
##6F258E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#6C3C57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f258e;
/* rgb */ color: rgb(111, 37, 142);
/* oklch */ color: oklch(42.7% 0.170 313.8);
Tailwind
colors: {
  custom: {
    50: '#9c67b0',
    500: '#6f258e',
    950: '#000000',
  },
}
SCSS
$custom: #6f258e;
$custom-light: #9c67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f258e",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 282.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.16974,
    "h": 313.8
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#6F258E
secondary
#73B956
accent
#E24674
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F258E

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

Preview Lab → · Contrast checker → · Palette generator →

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