#68238B#68238B

#68238B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.167 H 311.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#68238B
RGBrgb(104, 35, 139)
HSLhsl(280, 60%, 34%)
HSVhsv(280, 75%, 55%)
CMYKcmyk(25.2%, 74.8%, 0%, 45.5%)
CIE-LABlab(29.44, 47.59, -44.13)
CIE-LCHlch(29.44, 64.90, 317.16°)
OKLaboklab(41.29% 0.1105 -0.1248)
OKLCHoklch(41.29% 0.167 311.5)
XYZxyz(10.9693, 6.0095, 25.0032)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68238B #468B23
analogous
#34238B #68238B #8B237A
triadic
#68238B #8B6823 #238B68
tetradic
#68238B #8B3423 #468B23 #237A8B
square
#68238B #8B3423 #468B23 #237A8B
split-complementary
#68238B #7A8B23 #238B34
monochromatic
#1F0A29 #43175A #68238B #8D2FBC #A954D4

Accessibility & contrast

On white

9.54
#68238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#68238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68238B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68238B#FFFFFF#000000##FFFFFF
##68238B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#643A55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68238b;
/* rgb */ color: rgb(104, 35, 139);
/* oklch */ color: oklch(41.3% 0.167 311.5);
Tailwind
colors: {
  custom: {
    50: '#9765ae',
    500: '#68238b',
    950: '#000000',
  },
}
SCSS
$custom: #68238b;
$custom-light: #9765ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68238b",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 279.808,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.16675,
    "h": 311.5
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#68238B
secondary
#74B852
accent
#E3457A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68238B

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

Preview Lab → · Contrast checker → · Palette generator →

#68238B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva