#68398D#68398D

#68398D is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.3% C 0.138 H 307.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#68398D
RGBrgb(104, 57, 141)
HSLhsl(274, 42%, 39%)
HSVhsv(274, 60%, 55%)
CMYKcmyk(26.2%, 59.6%, 0%, 44.7%)
CIE-LABlab(33.55, 37.12, -38.76)
CIE-LCHlch(33.55, 53.67, 313.76°)
OKLaboklab(44.29% 0.0839 -0.1092)
OKLCHoklch(44.29% 0.138 307.5)
XYZxyz(11.9788, 7.7925, 26.0672)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68398D #5E8D39
analogous
#3E398D #68398D #8D3988
triadic
#68398D #8D6839 #398D68
tetradic
#68398D #8D3E39 #5E8D39 #39888D
square
#68398D #8D3E39 #5E8D39 #39888D
split-complementary
#68398D #888D39 #398D3E
monochromatic
#281636 #482761 #68398D #884CB7 #A578C8

Accessibility & contrast

On white

8.21
#68398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#68398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68398D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68398D#FFFFFF#000000##FFFFFF
##68398D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#62495D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #68398d;
/* rgb */ color: rgb(104, 57, 141);
/* oklch */ color: oklch(44.3% 0.138 307.5);
Tailwind
colors: {
  custom: {
    50: '#9672af',
    500: '#68398d',
    950: '#000000',
  },
}
SCSS
$custom: #68398d;
$custom-light: #9672af;
$custom-dark: #000000;
JSON
{
  "hex": "#68398d",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 273.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.13769,
    "h": 307.5
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#68398D
secondary
#8DB270
accent
#D2568C
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #68398D

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

Preview Lab → · Contrast checker → · Palette generator →

#68398D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva