#361276#361276

#361276 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.153 H 290.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#361276
RGBrgb(54, 18, 118)
HSLhsl(262, 74%, 27%)
HSVhsv(262, 85%, 46%)
CMYKcmyk(54.2%, 84.7%, 0%, 53.7%)
CIE-LABlab(18.03, 40.75, -49.78)
CIE-LCHlch(18.03, 64.33, 309.31°)
OKLaboklab(31.21% 0.0546 -0.1431)
OKLCHoklch(31.21% 0.153 290.9)
XYZxyz(5.0067, 2.5247, 17.3595)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361276 #527612
analogous
#122076 #361276 #681276
triadic
#361276 #763612 #127636
tetradic
#361276 #761220 #527612 #127668
square
#361276 #761220 #527612 #127668
split-complementary
#361276 #766812 #207612
monochromatic
#0C041B #1E0A41 #361276 #4E1AAB #6725DE

Accessibility & contrast

On white

13.95
#361276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#361276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361276
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361276#FFFFFF#000000##FFFFFF
##3612761.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#1F3045
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361276;
/* rgb */ color: rgb(54, 18, 118);
/* oklch */ color: oklch(31.2% 0.153 290.9);
Tailwind
colors: {
  custom: {
    50: '#75569f',
    500: '#361276',
    950: '#000000',
  },
}
SCSS
$custom: #361276;
$custom-light: #75569f;
$custom-dark: #000000;
JSON
{
  "hex": "#361276",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 261.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31208,
    "c": 0.15315,
    "h": 290.9
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#361276
secondary
#82AD37
accent
#F038AE
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #361276

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

Preview Lab → · Contrast checker → · Palette generator →

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