#361273#361273

#361273 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.150 H 291.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#361273
RGBrgb(54, 18, 115)
HSLhsl(262, 73%, 26%)
HSVhsv(262, 84%, 45%)
CMYKcmyk(53%, 84.3%, 0%, 54.9%)
CIE-LABlab(17.71, 39.91, -48.37)
CIE-LCHlch(17.71, 62.70, 309.53°)
OKLaboklab(30.89% 0.0557 -0.139)
OKLCHoklch(30.89% 0.15 291.8)
XYZxyz(4.8313, 2.4545, 16.4355)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361273 #4F7312
analogous
#121E73 #361273 #661273
triadic
#361273 #733612 #127336
tetradic
#361273 #73121E #4F7312 #127366
square
#361273 #73121E #4F7312 #127366
split-complementary
#361273 #736612 #1E7312
monochromatic
#0C041A #1D0A3E #361273 #4F1AA8 #6823DD

Accessibility & contrast

On white

14.08
#361273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#361273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361273
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361273#FFFFFF#000000##FFFFFF
##3612731.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#212F43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361273;
/* rgb */ color: rgb(54, 18, 115);
/* oklch */ color: oklch(30.9% 0.150 291.8);
Tailwind
colors: {
  custom: {
    50: '#75569c',
    500: '#361273',
    950: '#000000',
  },
}
SCSS
$custom: #361273;
$custom-light: #75569c;
$custom-dark: #000000;
JSON
{
  "hex": "#361273",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 262.268,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.14971,
    "h": 291.8
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#361273
secondary
#7FAA37
accent
#F038AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361273

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

Preview Lab → · Contrast checker → · Palette generator →

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