#362045#362045

#362045 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.070 H 310.1°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#362045
RGBrgb(54, 32, 69)
HSLhsl(276, 37%, 20%)
HSVhsv(276, 54%, 27%)
CMYKcmyk(21.7%, 53.6%, 0%, 72.9%)
CIE-LABlab(16.73, 18.86, -19.24)
CIE-LCHlch(16.73, 26.94, 314.43°)
OKLaboklab(29% 0.0452 -0.0537)
OKLCHoklch(29% 0.07 310.1)
XYZxyz(3.1118, 2.2470, 5.8989)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362045 #2F4520
analogous
#242045 #362045 #452042
triadic
#362045 #453620 #204536
tetradic
#362045 #452420 #2F4520 #204245
square
#362045 #452420 #2F4520 #204245
split-complementary
#362045 #424520 #204524
monochromatic
#100A15 #150D1B #362045 #57336F #774799

Accessibility & contrast

On white

14.49
#362045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#362045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362045
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362045#FFFFFF#000000##FFFFFF
##3620451.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172846
Deuteranopia (green-blind)
#1D2A44
Tritanopia (blue-blind)
#34262F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #362045;
/* rgb */ color: rgb(54, 32, 69);
/* oklch */ color: oklch(29.0% 0.070 310.1);
Tailwind
colors: {
  custom: {
    50: '#6e5c79',
    500: '#362045',
    950: '#000000',
  },
}
SCSS
$custom: #362045;
$custom-light: #6e5c79;
$custom-dark: #000000;
JSON
{
  "hex": "#362045",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 275.676,
    "s": 36.634,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28996,
    "c": 0.07018,
    "h": 310.1
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#362045
secondary
#5C7948
accent
#CD5B89
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #362045

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

Preview Lab → · Contrast checker → · Palette generator →

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