#68339A#68339A

#68339A is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.162 H 304.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#68339A
RGBrgb(104, 51, 154)
HSLhsl(271, 50%, 40%)
HSVhsv(271, 67%, 60%)
CMYKcmyk(32.5%, 66.9%, 0%, 39.6%)
CIE-LABlab(33.23, 43.58, -47.22)
CIE-LCHlch(33.23, 64.26, 312.71°)
OKLaboklab(44.34% 0.0909 -0.134)
OKLCHoklch(44.34% 0.162 304.2)
XYZxyz(12.7242, 7.6438, 31.3707)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68339A #659A33
analogous
#35339A #68339A #9A3398
triadic
#68339A #9A6833 #339A68
tetradic
#68339A #9A3533 #659A33 #33989A
square
#68339A #9A3533 #659A33 #33989A
split-complementary
#68339A #989A33 #339A35
monochromatic
#2A153E #49246C #68339A #8748C2 #A576D2

Accessibility & contrast

On white

8.30
#68339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#68339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68339A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68339A#FFFFFF#000000##FFFFFF
##68339A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#114E98
Tritanopia (blue-blind)
#5F4A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #68339a;
/* rgb */ color: rgb(104, 51, 154);
/* oklch */ color: oklch(44.3% 0.162 304.2);
Tailwind
colors: {
  custom: {
    50: '#976eb8',
    500: '#68339a',
    950: '#000000',
  },
}
SCSS
$custom: #68339a;
$custom-light: #976eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#68339a",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 270.874,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.16191,
    "h": 304.2
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#68339A
secondary
#93BA6F
accent
#DA4E92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #68339A

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

Preview Lab → · Contrast checker → · Palette generator →

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