#61338D#61338D

#61338D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.145 H 304.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#61338D
RGBrgb(97, 51, 141)
HSLhsl(271, 47%, 38%)
HSVhsv(271, 64%, 55%)
CMYKcmyk(31.2%, 63.8%, 0%, 44.7%)
CIE-LABlab(31.42, 38.67, -42.22)
CIE-LCHlch(31.42, 57.25, 312.49°)
OKLaboklab(42.55% 0.0821 -0.1195)
OKLCHoklch(42.55% 0.145 304.5)
XYZxyz(10.9202, 6.8322, 25.9376)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#61338D #5F8D33
analogous
#34338D #61338D #8D338C
triadic
#61338D #8D6133 #338D61
tetradic
#61338D #8D3433 #5F8D33 #338C8D
square
#61338D #8D3433 #5F8D33 #338C8D
split-complementary
#61338D #8C8D33 #338D34
monochromatic
#231233 #422360 #61338D #8043BA #9E6FCB

Accessibility & contrast

On white

8.87
#61338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#61338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #61338D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##61338D#FFFFFF#000000##FFFFFF
##61338D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#59465B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #61338d;
/* rgb */ color: rgb(97, 51, 141);
/* oklch */ color: oklch(42.5% 0.145 304.5);
Tailwind
colors: {
  custom: {
    50: '#916daf',
    500: '#61338d',
    950: '#000000',
  },
}
SCSS
$custom: #61338d;
$custom-light: #916daf;
$custom-dark: #000000;
JSON
{
  "hex": "#61338d",
  "rgb": {
    "r": 97,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 270.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.145,
    "h": 304.5
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#61338D
secondary
#8DB369
accent
#D75192
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #61338D

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

Preview Lab → · Contrast checker → · Palette generator →

#61338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva