#360F4F#360F4F

#360F4F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.112 H 308.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#360F4F
RGBrgb(54, 15, 79)
HSLhsl(277, 68%, 18%)
HSVhsv(277, 81%, 31%)
CMYKcmyk(31.6%, 81%, 0%, 69%)
CIE-LABlab(13.77, 31.48, -30.87)
CIE-LCHlch(13.77, 44.09, 315.56°)
OKLaboklab(27.07% 0.0694 -0.0876)
OKLCHoklch(27.07% 0.112 308.4)
XYZxyz(3.1031, 1.6905, 7.5584)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360F4F #284F0F
analogous
#160F4F #360F4F #4F0F48
triadic
#360F4F #4F360F #0F4F36
tetradic
#360F4F #4F160F #284F0F #0F484F
square
#360F4F #4F160F #284F0F #0F484F
split-complementary
#360F4F #484F0F #0F4F16
monochromatic
#12051A #13051C #360F4F #591982 #7C23B6

Accessibility & contrast

On white

15.70
#360F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#360F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360F4F
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360F4F#FFFFFF#000000##FFFFFF
##360F4F1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#321E2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #360f4f;
/* rgb */ color: rgb(54, 15, 79);
/* oklch */ color: oklch(27.1% 0.112 308.4);
Tailwind
colors: {
  custom: {
    50: '#705281',
    500: '#360f4f',
    950: '#000000',
  },
}
SCSS
$custom: #360f4f;
$custom-light: #705281;
$custom-dark: #000000;
JSON
{
  "hex": "#360f4f",
  "rgb": {
    "r": 54,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 276.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27073,
    "c": 0.11172,
    "h": 308.4
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#360F4F
secondary
#538931
accent
#EB3D81
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #360F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#360F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva