#361252#361252

#361252 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.111 H 306.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#361252
RGBrgb(54, 18, 82)
HSLhsl(274, 64%, 20%)
HSVhsv(274, 78%, 32%)
CMYKcmyk(34.1%, 78%, 0%, 67.8%)
CIE-LABlab(14.55, 30.79, -31.66)
CIE-LCHlch(14.55, 44.16, 314.20°)
OKLaboklab(27.7% 0.0654 -0.0899)
OKLCHoklch(27.7% 0.111 306)
XYZxyz(3.2603, 1.8261, 8.1617)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361252 #2E5212
analogous
#161252 #361252 #52124E
triadic
#361252 #523612 #125236
tetradic
#361252 #521612 #2E5212 #124E52
square
#361252 #521612 #2E5212 #124E52
split-complementary
#361252 #4E5212 #125216
monochromatic
#110619 #150720 #361252 #571D84 #7828B6

Accessibility & contrast

On white

15.38
#361252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#361252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361252
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361252#FFFFFF#000000##FFFFFF
##3612521.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#312130
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #361252;
/* rgb */ color: rgb(54, 18, 82);
/* oklch */ color: oklch(27.7% 0.111 306.0);
Tailwind
colors: {
  custom: {
    50: '#705383',
    500: '#361252',
    950: '#000000',
  },
}
SCSS
$custom: #361252;
$custom-light: #705383;
$custom-dark: #000000;
JSON
{
  "hex": "#361252",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 273.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27703,
    "c": 0.11119,
    "h": 306
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#361252
secondary
#5B8B35
accent
#E7418A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361252

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

Preview Lab → · Contrast checker → · Palette generator →

#361252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva