#361983#361983

#361983 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.162 H 286.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#361983
RGBrgb(54, 25, 131)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 51%)
CMYKcmyk(58.8%, 80.9%, 0%, 48.6%)
CIE-LABlab(20.51, 41.32, -53.98)
CIE-LCHlch(20.51, 67.98, 307.44°)
OKLaboklab(33.34% 0.0452 -0.1554)
OKLCHoklch(33.34% 0.162 286.2)
XYZxyz(5.9645, 3.1179, 21.7559)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361983 #668319
analogous
#193183 #361983 #6B1983
triadic
#361983 #833619 #198336
tetradic
#361983 #831931 #668319 #19836B
square
#361983 #831931 #668319 #19836B
split-complementary
#361983 #836B19 #318319
monochromatic
#0C051C #210F50 #361983 #4B23B6 #683DDA

Accessibility & contrast

On white

12.93
#361983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361983
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361983#FFFFFF#000000##FFFFFF
##3619831.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#10384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361983;
/* rgb */ color: rgb(54, 25, 131);
/* oklch */ color: oklch(33.3% 0.162 286.2);
Tailwind
colors: {
  custom: {
    50: '#775aa8',
    500: '#361983',
    950: '#000000',
  },
}
SCSS
$custom: #361983;
$custom-light: #775aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#361983",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 256.415,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33342,
    "c": 0.16189,
    "h": 286.2
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#361983
secondary
#97B741
accent
#EB3DBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361983

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

Preview Lab → · Contrast checker → · Palette generator →

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