#68339E#68339E

#68339E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.166 H 302.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#68339E
RGBrgb(104, 51, 158)
HSLhsl(270, 51%, 41%)
HSVhsv(270, 68%, 62%)
CMYKcmyk(34.2%, 67.7%, 0%, 38%)
CIE-LABlab(33.52, 44.59, -49.17)
CIE-LCHlch(33.52, 66.38, 312.20°)
OKLaboklab(44.64% 0.0905 -0.1398)
OKLCHoklch(44.64% 0.166 302.9)
XYZxyz(13.0629, 7.7793, 33.1545)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68339E #699E33
analogous
#33339E #68339E #9D339E
triadic
#68339E #9E6833 #339E68
tetradic
#68339E #9E3333 #699E33 #339E9D
square
#68339E #9E3333 #699E33 #339E9D
split-complementary
#68339E #9E9D33 #339E33
monochromatic
#2B1541 #4A2470 #68339E #874AC4 #A578D3

Accessibility & contrast

On white

8.22
#68339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#68339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68339E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68339E#FFFFFF#000000##FFFFFF
##68339E1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#054F9C
Tritanopia (blue-blind)
#5D4B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #68339e;
/* rgb */ color: rgb(104, 51, 158);
/* oklch */ color: oklch(44.6% 0.166 302.9);
Tailwind
colors: {
  custom: {
    50: '#976ebb',
    500: '#68339e',
    950: '#000000',
  },
}
SCSS
$custom: #68339e;
$custom-light: #976ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#68339e",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 269.72,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.16647,
    "h": 302.9
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#68339E
secondary
#97BC71
accent
#DB4D95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68339E

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

Preview Lab → · Contrast checker → · Palette generator →

#68339E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva