#362154#362154

#362154 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.2% C 0.090 H 300.1°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#362154
RGBrgb(54, 33, 84)
HSLhsl(265, 44%, 23%)
HSVhsv(265, 61%, 33%)
CMYKcmyk(35.7%, 60.7%, 0%, 67.1%)
CIE-LABlab(17.97, 22.48, -27.49)
CIE-LCHlch(17.97, 35.52, 309.28°)
OKLaboklab(30.23% 0.045 -0.0778)
OKLCHoklch(30.23% 0.09 300.1)
XYZxyz(3.6650, 2.5121, 8.6776)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362154 #3F5421
analogous
#212554 #362154 #4F2154
triadic
#362154 #543621 #215436
tetradic
#362154 #542125 #3F5421 #21544F
square
#362154 #542125 #3F5421 #21544F
split-complementary
#362154 #544F21 #255421
monochromatic
#0E0916 #1A1028 #362154 #523280 #6E44AC

Accessibility & contrast

On white

13.98
#362154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#362154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362154
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362154#FFFFFF#000000##FFFFFF
##3621541.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C56
Deuteranopia (green-blind)
#132C53
Tritanopia (blue-blind)
#302B37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #362154;
/* rgb */ color: rgb(54, 33, 84);
/* oklch */ color: oklch(30.2% 0.090 300.1);
Tailwind
colors: {
  custom: {
    50: '#6f5d84',
    500: '#362154',
    950: '#000000',
  },
}
SCSS
$custom: #362154;
$custom-light: #6f5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#362154",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 264.706,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30232,
    "c": 0.08986,
    "h": 300.1
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#362154
secondary
#6E8849
accent
#D3549F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #362154

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

Preview Lab → · Contrast checker → · Palette generator →

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