#36276F#36276F

#36276F is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.119 H 287.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#36276F
RGBrgb(54, 39, 111)
HSLhsl(253, 48%, 29%)
HSVhsv(253, 65%, 44%)
CMYKcmyk(51.4%, 64.9%, 0%, 56.5%)
CIE-LABlab(21.52, 27.07, -39.56)
CIE-LCHlch(21.52, 47.94, 304.38°)
OKLaboklab(33.49% 0.0363 -0.1132)
OKLCHoklch(33.49% 0.119 287.8)
XYZxyz(5.1152, 3.3828, 15.4193)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36276F #606F27
analogous
#273C6F #36276F #5A276F
triadic
#36276F #6F3627 #276F36
tetradic
#36276F #6F273C #606F27 #276F5A
square
#36276F #6F273C #606F27 #276F5A
split-complementary
#36276F #6F5A27 #3C6F27
monochromatic
#0B0817 #201742 #36276F #4C379C #674FC1

Accessibility & contrast

On white

12.53
#36276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#36276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36276F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36276F#FFFFFF#000000##FFFFFF
##36276F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#223847
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36276f;
/* rgb */ color: rgb(54, 39, 111);
/* oklch */ color: oklch(33.5% 0.119 287.8);
Tailwind
colors: {
  custom: {
    50: '#726299',
    500: '#36276f',
    950: '#000000',
  },
}
SCSS
$custom: #36276f;
$custom-light: #726299;
$custom-dark: #000000;
JSON
{
  "hex": "#36276f",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 252.5,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.11892,
    "h": 287.8
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#36276F
secondary
#91A250
accent
#D850BB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #36276F

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

Preview Lab → · Contrast checker → · Palette generator →

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