#68339C#68339C

#68339C is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.164 H 303.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#68339C
RGBrgb(104, 51, 156)
HSLhsl(270, 51%, 41%)
HSVhsv(270, 67%, 61%)
CMYKcmyk(33.3%, 67.3%, 0%, 38.8%)
CIE-LABlab(33.37, 44.08, -48.20)
CIE-LCHlch(33.37, 65.32, 312.45°)
OKLaboklab(44.49% 0.0907 -0.1369)
OKLCHoklch(44.49% 0.164 303.5)
XYZxyz(12.8921, 7.7110, 32.2552)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68339C #679C33
analogous
#33339C #68339C #9C339B
triadic
#68339C #9C6833 #339C68
tetradic
#68339C #9C3333 #679C33 #339B9C
square
#68339C #9C3333 #679C33 #339B9C
split-complementary
#68339C #9B9C33 #339C33
monochromatic
#2B1540 #49246E #68339C #8749C3 #A577D3

Accessibility & contrast

On white

8.26
#68339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#68339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68339C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68339C#FFFFFF#000000##FFFFFF
##68339C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#0C4E9A
Tritanopia (blue-blind)
#5E4A63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #68339c;
/* rgb */ color: rgb(104, 51, 156);
/* oklch */ color: oklch(44.5% 0.164 303.5);
Tailwind
colors: {
  custom: {
    50: '#976eba',
    500: '#68339c',
    950: '#000000',
  },
}
SCSS
$custom: #68339c;
$custom-light: #976eba;
$custom-dark: #000000;
JSON
{
  "hex": "#68339c",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 270.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.16419,
    "h": 303.5
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#68339C
secondary
#95BB70
accent
#DA4E93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68339C

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

Preview Lab → · Contrast checker → · Palette generator →

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