#6E2F9D#6E2F9D

#6E2F9D is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.172 H 306.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6E2F9D
RGBrgb(110, 47, 157)
HSLhsl(274, 54%, 40%)
HSVhsv(274, 70%, 62%)
CMYKcmyk(29.9%, 70.1%, 0%, 38.4%)
CIE-LABlab(33.53, 47.61, -48.52)
CIE-LCHlch(33.53, 67.97, 314.46°)
OKLaboklab(44.79% 0.1035 -0.1376)
OKLCHoklch(44.79% 0.172 306.9)
XYZxyz(13.5314, 7.7825, 32.6811)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2F9D #5E9D2F
analogous
#372F9D #6E2F9D #9D2F95
triadic
#6E2F9D #9D6E2F #2F9D6E
tetradic
#6E2F9D #9D372F #5E9D2F #2F959D
square
#6E2F9D #9D372F #5E9D2F #2F959D
split-complementary
#6E2F9D #959D2F #2F9D37
monochromatic
#2C133F #4D216E #6E2F9D #8E43C7 #AA72D5

Accessibility & contrast

On white

8.21
#6E2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E2F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2F9D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2F9D#FFFFFF#000000##FFFFFF
##6E2F9D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#0F4F9B
Tritanopia (blue-blind)
#664862
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2f9d;
/* rgb */ color: rgb(110, 47, 157);
/* oklch */ color: oklch(44.8% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#9c6dbb',
    500: '#6e2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2f9d;
$custom-light: #9c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2f9d",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 274.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.44794,
    "c": 0.17215,
    "h": 306.9
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#6E2F9D
secondary
#8EBC6B
accent
#DD4B89
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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