#361855#361855

#361855 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.106 H 302.8°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#361855
RGBrgb(54, 24, 85)
HSLhsl(270, 56%, 21%)
HSVhsv(270, 72%, 33%)
CMYKcmyk(36.5%, 71.8%, 0%, 66.7%)
CIE-LABlab(15.97, 28.34, -31.39)
CIE-LCHlch(15.97, 42.29, 312.08°)
OKLaboklab(28.8% 0.0575 -0.0892)
OKLCHoklch(28.8% 0.106 302.8)
XYZxyz(3.4873, 2.0934, 8.8129)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361855 #375518
analogous
#181955 #361855 #551855
triadic
#361855 #553618 #185536
tetradic
#361855 #551819 #375518 #185555
square
#361855 #551819 #375518 #185555
split-complementary
#361855 #555518 #195518
monochromatic
#0F0718 #180B25 #361855 #542585 #7333B4

Accessibility & contrast

On white

14.80
#361855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#361855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361855
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361855#FFFFFF#000000##FFFFFF
##3618551.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#022854
Tritanopia (blue-blind)
#302634
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #361855;
/* rgb */ color: rgb(54, 24, 85);
/* oklch */ color: oklch(28.8% 0.106 302.8);
Tailwind
colors: {
  custom: {
    50: '#705785',
    500: '#361855',
    950: '#000000',
  },
}
SCSS
$custom: #361855;
$custom-light: #705785;
$custom-dark: #000000;
JSON
{
  "hex": "#361855",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 269.508,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28799,
    "c": 0.10613,
    "h": 302.8
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#361855
secondary
#658C3D
accent
#DF4995
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361855

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

Preview Lab → · Contrast checker → · Palette generator →

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