#61318F#61318F

#61318F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.150 H 304.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#61318F
RGBrgb(97, 49, 143)
HSLhsl(271, 49%, 38%)
HSVhsv(271, 66%, 56%)
CMYKcmyk(32.2%, 65.7%, 0%, 43.9%)
CIE-LABlab(31.16, 40.26, -43.87)
CIE-LCHlch(31.16, 59.54, 312.54°)
OKLaboklab(42.41% 0.0844 -0.1244)
OKLCHoklch(42.41% 0.15 304.2)
XYZxyz(10.9849, 6.7212, 26.6999)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61318F #5F8F31
analogous
#32318F #61318F #8F318E
triadic
#61318F #8F6131 #318F61
tetradic
#61318F #8F3231 #5F8F31 #318E8F
square
#61318F #8F3231 #5F8F31 #318E8F
split-complementary
#61318F #8E8F31 #318F32
monochromatic
#231234 #422161 #61318F #8041BD #9E6DCD

Accessibility & contrast

On white

8.96
#61318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#61318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61318F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61318F#FFFFFF#000000##FFFFFF
##61318F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#58455B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #61318f;
/* rgb */ color: rgb(97, 49, 143);
/* oklch */ color: oklch(42.4% 0.150 304.2);
Tailwind
colors: {
  custom: {
    50: '#926cb0',
    500: '#61318f',
    950: '#000000',
  },
}
SCSS
$custom: #61318f;
$custom-light: #926cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#61318f",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 270.638,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42406,
    "c": 0.15033,
    "h": 304.2
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#61318F
secondary
#8DB567
accent
#D94F92
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #61318F

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

Preview Lab → · Contrast checker → · Palette generator →

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