#361668#361668

#361668 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.133 H 294.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#361668
RGBrgb(54, 22, 104)
HSLhsl(263, 65%, 25%)
HSVhsv(263, 79%, 41%)
CMYKcmyk(48.1%, 78.8%, 0%, 59.2%)
CIE-LABlab(17.26, 34.88, -41.94)
CIE-LCHlch(17.26, 54.55, 309.75°)
OKLaboklab(30.24% 0.0559 -0.1202)
OKLCHoklch(30.24% 0.133 294.9)
XYZxyz(4.3062, 2.3574, 13.3222)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361668 #486816
analogous
#161F68 #361668 #5F1668
triadic
#361668 #683616 #166836
tetradic
#361668 #68161F #486816 #16685F
square
#361668 #68161F #486816 #16685F
split-complementary
#361668 #685F16 #1F6816
monochromatic
#0D0519 #1C0B35 #361668 #50219B #6A2BCD

Accessibility & contrast

On white

14.27
#361668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#361668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361668
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361668#FFFFFF#000000##FFFFFF
##3616681.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361668;
/* rgb */ color: rgb(54, 22, 104);
/* oklch */ color: oklch(30.2% 0.133 294.9);
Tailwind
colors: {
  custom: {
    50: '#735794',
    500: '#361668',
    950: '#000000',
  },
}
SCSS
$custom: #361668;
$custom-light: #735794;
$custom-dark: #000000;
JSON
{
  "hex": "#361668",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 263.415,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30241,
    "c": 0.13254,
    "h": 294.9
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#361668
secondary
#789F3B
accent
#E840A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #361668

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

Preview Lab → · Contrast checker → · Palette generator →

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