#361768#361768

#361768 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.131 H 294.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#361768
RGBrgb(54, 23, 104)
HSLhsl(263, 64%, 25%)
HSVhsv(263, 78%, 41%)
CMYKcmyk(48.1%, 77.9%, 0%, 59.2%)
CIE-LABlab(17.44, 34.36, -41.64)
CIE-LCHlch(17.44, 53.99, 309.53°)
OKLaboklab(30.37% 0.0549 -0.1193)
OKLCHoklch(30.37% 0.131 294.7)
XYZxyz(4.3257, 2.3964, 13.3287)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361768 #496817
analogous
#172068 #361768 #5F1768
triadic
#361768 #683617 #176836
tetradic
#361768 #681720 #496817 #17685F
square
#361768 #681720 #496817 #17685F
split-complementary
#361768 #685F17 #206817
monochromatic
#0D0619 #1C0C36 #361768 #50229A #6A2DCC

Accessibility & contrast

On white

14.19
#361768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#361768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361768
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361768#FFFFFF#000000##FFFFFF
##3617681.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#282C3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361768;
/* rgb */ color: rgb(54, 23, 104);
/* oklch */ color: oklch(30.4% 0.131 294.7);
Tailwind
colors: {
  custom: {
    50: '#735794',
    500: '#361768',
    950: '#000000',
  },
}
SCSS
$custom: #361768;
$custom-light: #735794;
$custom-dark: #000000;
JSON
{
  "hex": "#361768",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 262.963,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30369,
    "c": 0.13135,
    "h": 294.7
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#361768
secondary
#799E3D
accent
#E741A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361768

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

Preview Lab → · Contrast checker → · Palette generator →

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