#362256#362256

#362256 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.6% C 0.091 H 298.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#362256
RGBrgb(54, 34, 86)
HSLhsl(263, 43%, 24%)
HSVhsv(263, 60%, 34%)
CMYKcmyk(37.2%, 60.5%, 0%, 66.3%)
CIE-LABlab(18.37, 22.43, -28.21)
CIE-LCHlch(18.37, 36.04, 308.49°)
OKLaboklab(30.57% 0.0436 -0.0799)
OKLCHoklch(30.57% 0.091 298.6)
XYZxyz(3.7727, 2.6002, 9.1054)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362256 #425622
analogous
#222856 #362256 #502256
triadic
#362256 #563622 #225636
tetradic
#362256 #562228 #425622 #225650
square
#362256 #562228 #425622 #225650
split-complementary
#362256 #565022 #285622
monochromatic
#0E0916 #1A112A #362256 #523382 #6D45AE

Accessibility & contrast

On white

13.82
#362256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362256
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362256#FFFFFF#000000##FFFFFF
##3622561.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2D58
Deuteranopia (green-blind)
#122C55
Tritanopia (blue-blind)
#2F2D38
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #362256;
/* rgb */ color: rgb(54, 34, 86);
/* oklch */ color: oklch(30.6% 0.091 298.6);
Tailwind
colors: {
  custom: {
    50: '#6f5e86',
    500: '#362256',
    950: '#000000',
  },
}
SCSS
$custom: #362256;
$custom-light: #6f5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#362256",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 263.077,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30567,
    "c": 0.091,
    "h": 298.6
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#362256
secondary
#718A4A
accent
#D355A2
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #362256

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

Preview Lab → · Contrast checker → · Palette generator →

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