#68338E#68338E

#68338E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.148 H 308.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#68338E
RGBrgb(104, 51, 142)
HSLhsl(275, 47%, 38%)
HSVhsv(275, 64%, 56%)
CMYKcmyk(26.8%, 64.1%, 0%, 44.3%)
CIE-LABlab(32.40, 40.63, -41.21)
CIE-LCHlch(32.40, 57.87, 314.59°)
OKLaboklab(43.48% 0.0917 -0.1164)
OKLCHoklch(43.48% 0.148 308.3)
XYZxyz(11.7742, 7.2639, 26.3677)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68338E #598E33
analogous
#3A338E #68338E #8E3386
triadic
#68338E #8E6833 #338E68
tetradic
#68338E #8E3A33 #598E33 #33868E
square
#68338E #8E3A33 #598E33 #33868E
split-complementary
#68338E #868E33 #338E3A
monochromatic
#261334 #472361 #68338E #8943BB #A570CC

Accessibility & contrast

On white

8.56
#68338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#68338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68338E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68338E#FFFFFF#000000##FFFFFF
##68338E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A91
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#62455B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #68338e;
/* rgb */ color: rgb(104, 51, 142);
/* oklch */ color: oklch(43.5% 0.148 308.3);
Tailwind
colors: {
  custom: {
    50: '#966eb0',
    500: '#68338e',
    950: '#000000',
  },
}
SCSS
$custom: #68338e;
$custom-light: #966eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68338e",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 274.945,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.14818,
    "h": 308.3
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#68338E
secondary
#88B469
accent
#D75189
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #68338E

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

Preview Lab → · Contrast checker → · Palette generator →

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