#361783#361783

#361783 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.164 H 286.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#361783
RGBrgb(54, 23, 131)
HSLhsl(257, 70%, 30%)
HSVhsv(257, 82%, 51%)
CMYKcmyk(58.8%, 82.4%, 0%, 48.6%)
CIE-LABlab(20.19, 42.26, -54.51)
CIE-LCHlch(20.19, 68.98, 307.79°)
OKLaboklab(33.12% 0.0466 -0.157)
OKLCHoklch(33.12% 0.164 286.5)
XYZxyz(5.9232, 3.0354, 21.7421)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361783 #648317
analogous
#172E83 #361783 #6C1783
triadic
#361783 #833617 #178336
tetradic
#361783 #83172E #648317 #17836C
square
#361783 #83172E #648317 #17836C
split-complementary
#361783 #836C17 #2E8317
monochromatic
#0B051B #210E4F #361783 #4B20B7 #6738DC

Accessibility & contrast

On white

13.07
#361783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361783
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361783#FFFFFF#000000##FFFFFF
##3617831.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#10374D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361783;
/* rgb */ color: rgb(54, 23, 131);
/* oklch */ color: oklch(33.1% 0.164 286.5);
Tailwind
colors: {
  custom: {
    50: '#7759a8',
    500: '#361783',
    950: '#000000',
  },
}
SCSS
$custom: #361783;
$custom-light: #7759a8;
$custom-dark: #000000;
JSON
{
  "hex": "#361783",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 257.222,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33116,
    "c": 0.16374,
    "h": 286.5
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#361783
secondary
#95B73F
accent
#ED3BBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361783

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

Preview Lab → · Contrast checker → · Palette generator →

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