#68398E#68398E

#68398E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.4% C 0.139 H 307.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#68398E
RGBrgb(104, 57, 142)
HSLhsl(273, 43%, 39%)
HSVhsv(273, 60%, 56%)
CMYKcmyk(26.8%, 59.9%, 0%, 44.3%)
CIE-LABlab(33.61, 37.37, -39.27)
CIE-LCHlch(33.61, 54.21, 313.58°)
OKLaboklab(44.36% 0.0839 -0.1107)
OKLCHoklch(44.36% 0.139 307.2)
XYZxyz(12.0535, 7.8224, 26.4608)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68398E #5F8E39
analogous
#3D398E #68398E #8E398A
triadic
#68398E #8E6839 #398E68
tetradic
#68398E #8E3D39 #5F8E39 #398A8E
square
#68398E #8E3D39 #5F8E39 #398A8E
split-complementary
#68398E #8A8E39 #398E3D
monochromatic
#281637 #482762 #68398E #884DB7 #A578C9

Accessibility & contrast

On white

8.19
#68398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68398E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68398E#FFFFFF#000000##FFFFFF
##68398E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#62495E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #68398e;
/* rgb */ color: rgb(104, 57, 142);
/* oklch */ color: oklch(44.4% 0.139 307.2);
Tailwind
colors: {
  custom: {
    50: '#9672af',
    500: '#68398e',
    950: '#000000',
  },
}
SCSS
$custom: #68398e;
$custom-light: #9672af;
$custom-dark: #000000;
JSON
{
  "hex": "#68398e",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 273.176,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.13889,
    "h": 307.2
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#68398E
secondary
#8EB271
accent
#D2558D
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #68398E

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

Preview Lab → · Contrast checker → · Palette generator →

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