#68298F#68298F

#68298F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.163 H 309.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#68298F
RGBrgb(104, 41, 143)
HSLhsl(277, 55%, 36%)
HSVhsv(277, 71%, 56%)
CMYKcmyk(27.3%, 71.3%, 0%, 43.9%)
CIE-LABlab(30.67, 45.84, -44.62)
CIE-LCHlch(30.67, 63.97, 315.78°)
OKLaboklab(42.26% 0.1036 -0.1263)
OKLCHoklch(42.26% 0.163 309.4)
XYZxyz(11.4588, 6.5123, 26.6346)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68298F #508F29
analogous
#35298F #68298F #8F2983
triadic
#68298F #8F6829 #298F68
tetradic
#68298F #8F3529 #508F29 #29838F
square
#68298F #8F3529 #508F29 #29838F
split-complementary
#68298F #838F29 #298F35
monochromatic
#230E30 #451B5F #68298F #8B37BF #A661D2

Accessibility & contrast

On white

9.12
#68298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#68298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68298F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68298F#FFFFFF#000000##FFFFFF
##68298F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#623F59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68298f;
/* rgb */ color: rgb(104, 41, 143);
/* oklch */ color: oklch(42.3% 0.163 309.4);
Tailwind
colors: {
  custom: {
    50: '#9768b0',
    500: '#68298f',
    950: '#000000',
  },
}
SCSS
$custom: #68298f;
$custom-light: #9768b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68298f",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 277.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.16334,
    "h": 309.4
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#68298F
secondary
#7FB75C
accent
#DF4982
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68298F

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

Preview Lab → · Contrast checker → · Palette generator →

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