#6F2498#6F2498

#6F2498 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.181 H 310.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6F2498
RGBrgb(111, 36, 152)
HSLhsl(279, 62%, 37%)
HSVhsv(279, 76%, 60%)
CMYKcmyk(27%, 76.3%, 0%, 40.4%)
CIE-LABlab(31.60, 51.48, -48.59)
CIE-LCHlch(31.60, 70.79, 316.65°)
OKLaboklab(43.34% 0.117 -0.1377)
OKLCHoklch(43.34% 0.181 310.3)
XYZxyz(12.8528, 6.9085, 30.3561)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2498 #4D9824
analogous
#352498 #6F2498 #982487
triadic
#6F2498 #986F24 #24986F
tetradic
#6F2498 #983524 #4D9824 #248798
square
#6F2498 #983524 #4D9824 #248798
split-complementary
#6F2498 #879824 #249835
monochromatic
#270D35 #4B1867 #6F2498 #9330C9 #AD5ED9

Accessibility & contrast

On white

8.82
#6F2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2498
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2498#FFFFFF#000000##FFFFFF
##6F24981.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#074B96
Tritanopia (blue-blind)
#693F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2498;
/* rgb */ color: rgb(111, 36, 152);
/* oklch */ color: oklch(43.3% 0.181 310.3);
Tailwind
colors: {
  custom: {
    50: '#9d67b7',
    500: '#6f2498',
    950: '#000000',
  },
}
SCSS
$custom: #6f2498;
$custom-light: #9d67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2498",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 278.793,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.18066,
    "h": 310.3
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#6F2498
secondary
#7DBE5A
accent
#E5437C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2498

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

Preview Lab → · Contrast checker → · Palette generator →

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