#361674#361674

#361674 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.147 H 290.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#361674
RGBrgb(54, 22, 116)
HSLhsl(260, 68%, 27%)
HSVhsv(260, 81%, 45%)
CMYKcmyk(53.4%, 81%, 0%, 54.5%)
CIE-LABlab(18.45, 38.36, -47.80)
CIE-LCHlch(18.45, 61.29, 308.75°)
OKLaboklab(31.44% 0.0523 -0.1373)
OKLCHoklch(31.44% 0.147 290.8)
XYZxyz(4.9597, 2.6188, 16.7638)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361674 #547416
analogous
#162574 #361674 #651674
triadic
#361674 #743616 #167436
tetradic
#361674 #741625 #547416 #167465
square
#361674 #741625 #547416 #167465
split-complementary
#361674 #746516 #257416
monochromatic
#0C051A #1E0C41 #361674 #4E20A7 #672DD7

Accessibility & contrast

On white

13.78
#361674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#361674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361674
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361674#FFFFFF#000000##FFFFFF
##3616741.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#203145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361674;
/* rgb */ color: rgb(54, 22, 116);
/* oklch */ color: oklch(31.4% 0.147 290.8);
Tailwind
colors: {
  custom: {
    50: '#75589d',
    500: '#361674',
    950: '#000000',
  },
}
SCSS
$custom: #361674;
$custom-light: #75589d;
$custom-dark: #000000;
JSON
{
  "hex": "#361674",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 260.426,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31435,
    "c": 0.14697,
    "h": 290.8
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#361674
secondary
#84AA3C
accent
#EB3DB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361674

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

Preview Lab → · Contrast checker → · Palette generator →

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