#52368A#52368A

#52368A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.1% C 0.134 H 295.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#52368A
RGBrgb(82, 54, 138)
HSLhsl(260, 44%, 38%)
HSVhsv(260, 61%, 54%)
CMYKcmyk(40.6%, 60.9%, 0%, 45.9%)
CIE-LABlab(30.08, 32.50, -42.62)
CIE-LCHlch(30.08, 53.60, 307.32°)
OKLaboklab(41.1% 0.0571 -0.1213)
OKLCHoklch(41.1% 0.134 295.2)
XYZxyz(9.3851, 6.2670, 24.7550)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52368A #6E8A36
analogous
#36448A #52368A #7C368A
triadic
#52368A #8A5236 #368A52
tetradic
#52368A #8A3644 #6E8A36 #368A7C
square
#52368A #8A3644 #6E8A36 #368A7C
split-complementary
#52368A #8A7C36 #448A36
monochromatic
#1E1432 #38255E #52368A #6C47B6 #8F72C8

Accessibility & contrast

On white

9.32
#52368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#52368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52368A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52368A#FFFFFF#000000##FFFFFF
##52368A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#0F4688
Tritanopia (blue-blind)
#44485A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #52368a;
/* rgb */ color: rgb(82, 54, 138);
/* oklch */ color: oklch(41.1% 0.134 295.2);
Tailwind
colors: {
  custom: {
    50: '#876ead',
    500: '#52368a',
    950: '#000000',
  },
}
SCSS
$custom: #52368a;
$custom-light: #876ead;
$custom-dark: #000000;
JSON
{
  "hex": "#52368a",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 260,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.13404,
    "h": 295.2
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#52368A
secondary
#99B16B
accent
#D354A9
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #52368A

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

Preview Lab → · Contrast checker → · Palette generator →

#52368A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva