#361874#361874

#361874 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.145 H 290.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#361874
RGBrgb(54, 24, 116)
HSLhsl(260, 66%, 27%)
HSVhsv(260, 79%, 45%)
CMYKcmyk(53.4%, 79.3%, 0%, 54.5%)
CIE-LABlab(18.79, 37.37, -47.23)
CIE-LCHlch(18.79, 60.23, 308.35°)
OKLaboklab(31.68% 0.0507 -0.1357)
OKLCHoklch(31.68% 0.145 290.5)
XYZxyz(4.9994, 2.6983, 16.7770)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361874 #567418
analogous
#182874 #361874 #641874
triadic
#361874 #743618 #187436
tetradic
#361874 #741828 #567418 #187464
square
#361874 #741828 #567418 #187464
split-complementary
#361874 #746418 #287418
monochromatic
#0C0519 #1E0E41 #361874 #4E22A7 #6732D5

Accessibility & contrast

On white

13.64
#361874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#361874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361874
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361874#FFFFFF#000000##FFFFFF
##3618741.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#203245
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361874;
/* rgb */ color: rgb(54, 24, 116);
/* oklch */ color: oklch(31.7% 0.145 290.5);
Tailwind
colors: {
  custom: {
    50: '#75599d',
    500: '#361874',
    950: '#000000',
  },
}
SCSS
$custom: #361874;
$custom-light: #75599d;
$custom-dark: #000000;
JSON
{
  "hex": "#361874",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 259.565,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.14486,
    "h": 290.5
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#361874
secondary
#86A93F
accent
#E93FB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361874

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

Preview Lab → · Contrast checker → · Palette generator →

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