#68338F#68338F

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

Color values

HEX#68338F
RGBrgb(104, 51, 143)
HSLhsl(275, 47%, 38%)
HSVhsv(275, 64%, 56%)
CMYKcmyk(27.3%, 64.3%, 0%, 43.9%)
CIE-LABlab(32.47, 40.87, -41.72)
CIE-LCHlch(32.47, 58.40, 314.41°)
OKLaboklab(43.55% 0.0917 -0.1178)
OKLCHoklch(43.55% 0.149 307.9)
XYZxyz(11.8497, 7.2940, 26.7649)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68338F #5A8F33
analogous
#3A338F #68338F #8F3388
triadic
#68338F #8F6833 #338F68
tetradic
#68338F #8F3A33 #5A8F33 #33888F
square
#68338F #8F3A33 #5A8F33 #33888F
split-complementary
#68338F #888F33 #338F3A
monochromatic
#261335 #472362 #68338F #8943BC #A570CC

Accessibility & contrast

On white

8.54
#68338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#68338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68338F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68338F#FFFFFF#000000##FFFFFF
##68338F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#62465C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #68338f;
/* rgb */ color: rgb(104, 51, 143);
/* oklch */ color: oklch(43.5% 0.149 307.9);
Tailwind
colors: {
  custom: {
    50: '#966eb0',
    500: '#68338f',
    950: '#000000',
  },
}
SCSS
$custom: #68338f;
$custom-light: #966eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#68338f",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 274.565,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.14932,
    "h": 307.9
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#68338F
secondary
#89B46A
accent
#D7518A
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #68338F

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

Preview Lab → · Contrast checker → · Palette generator →

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