#6F258D#6F258D

#6F258D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 314.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6F258D
RGBrgb(111, 37, 141)
HSLhsl(283, 58%, 35%)
HSVhsv(283, 74%, 55%)
CMYKcmyk(21.3%, 73.8%, 0%, 44.7%)
CIE-LABlab(30.94, 48.67, -42.89)
CIE-LCHlch(30.94, 64.88, 318.61°)
OKLaboklab(42.62% 0.1177 -0.121)
OKLCHoklch(42.62% 0.169 314.2)
XYZxyz(12.0240, 6.6261, 25.8397)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F258D #438D25
analogous
#3B258D #6F258D #8D2577
triadic
#6F258D #8D6F25 #258D6F
tetradic
#6F258D #8D3B25 #438D25 #25778D
square
#6F258D #8D3B25 #438D25 #25778D
split-complementary
#6F258D #778D25 #258D3B
monochromatic
#230C2C #49185D #6F258D #9532BD #B059D3

Accessibility & contrast

On white

9.03
#6F258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F258D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F258D#FFFFFF#000000##FFFFFF
##6F258D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#6C3B57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f258d;
/* rgb */ color: rgb(111, 37, 141);
/* oklch */ color: oklch(42.6% 0.169 314.2);
Tailwind
colors: {
  custom: {
    50: '#9c67af',
    500: '#6f258d',
    950: '#000000',
  },
}
SCSS
$custom: #6f258d;
$custom-light: #9c67af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f258d",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 282.692,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.16877,
    "h": 314.2
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#6F258D
secondary
#72B856
accent
#E24673
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F258D

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

Preview Lab → · Contrast checker → · Palette generator →

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