#361B68#361B68

#361B68 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.126 H 293.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#361B68
RGBrgb(54, 27, 104)
HSLhsl(261, 59%, 26%)
HSVhsv(261, 74%, 41%)
CMYKcmyk(48.1%, 74%, 0%, 59.2%)
CIE-LABlab(18.22, 32.18, -40.37)
CIE-LCHlch(18.22, 51.63, 308.56°)
OKLaboklab(30.92% 0.0508 -0.1156)
OKLCHoklch(30.92% 0.126 293.7)
XYZxyz(4.4113, 2.5675, 13.3572)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B68 #4D681B
analogous
#1B2668 #361B68 #5C1B68
triadic
#361B68 #68361B #1B6836
tetradic
#361B68 #681B26 #4D681B #1B685C
square
#361B68 #681B26 #4D681B #1B685C
split-complementary
#361B68 #685C1B #26681B
monochromatic
#0D0618 #1D0E37 #361B68 #4F2899 #6834C9

Accessibility & contrast

On white

13.87
#361B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#361B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B68
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B68#FFFFFF#000000##FFFFFF
##361B681.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#272E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361b68;
/* rgb */ color: rgb(54, 27, 104);
/* oklch */ color: oklch(30.9% 0.126 293.7);
Tailwind
colors: {
  custom: {
    50: '#725a94',
    500: '#361b68',
    950: '#000000',
  },
}
SCSS
$custom: #361b68;
$custom-light: #725a94;
$custom-dark: #000000;
JSON
{
  "hex": "#361b68",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 261.039,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30921,
    "c": 0.12629,
    "h": 293.7
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#361B68
secondary
#7D9D42
accent
#E246AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #361B68

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

Preview Lab → · Contrast checker → · Palette generator →

#361B68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva