#68258E#68258E

#68258E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.167 H 310.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#68258E
RGBrgb(104, 37, 142)
HSLhsl(278, 59%, 35%)
HSVhsv(278, 74%, 56%)
CMYKcmyk(26.8%, 73.9%, 0%, 44.3%)
CIE-LABlab(29.96, 47.41, -45.15)
CIE-LCHlch(29.96, 65.47, 316.40°)
OKLaboklab(41.73% 0.108 -0.1278)
OKLCHoklch(41.73% 0.167 310.2)
XYZxyz(11.2520, 6.2194, 26.1937)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68258E #4B8E25
analogous
#34258E #68258E #8E257F
triadic
#68258E #8E6825 #258E68
tetradic
#68258E #8E3425 #4B8E25 #257F8E
square
#68258E #8E3425 #4B8E25 #257F8E
split-complementary
#68258E #7F8E25 #258E34
monochromatic
#210C2D #44185D #68258E #8C32BF #A85AD4

Accessibility & contrast

On white

9.36
#68258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#68258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68258E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68258E#FFFFFF#000000##FFFFFF
##68258E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#633D57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68258e;
/* rgb */ color: rgb(104, 37, 142);
/* oklch */ color: oklch(41.7% 0.167 310.2);
Tailwind
colors: {
  custom: {
    50: '#9766b0',
    500: '#68258e',
    950: '#000000',
  },
}
SCSS
$custom: #68258e;
$custom-light: #9766b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68258e",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 278.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.16735,
    "h": 310.2
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#68258E
secondary
#7AB956
accent
#E2467E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68258E

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

Preview Lab → · Contrast checker → · Palette generator →

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