#361272#361272

#361272 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.149 H 292.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#361272
RGBrgb(54, 18, 114)
HSLhsl(263, 73%, 26%)
HSVhsv(263, 84%, 45%)
CMYKcmyk(52.6%, 84.2%, 0%, 55.3%)
CIE-LABlab(17.61, 39.63, -47.89)
CIE-LCHlch(17.61, 62.16, 309.60°)
OKLaboklab(30.79% 0.0561 -0.1376)
OKLCHoklch(30.79% 0.149 292.2)
XYZxyz(4.7740, 2.4316, 16.1341)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361272 #4E7212
analogous
#121E72 #361272 #661272
triadic
#361272 #723612 #127236
tetradic
#361272 #72121E #4E7212 #127266
square
#361272 #72121E #4E7212 #127266
split-complementary
#361272 #726612 #1E7212
monochromatic
#0D041A #1D0A3D #361272 #4F1AA7 #6823DC

Accessibility & contrast

On white

14.13
#361272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361272
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361272#FFFFFF#000000##FFFFFF
##3612721.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#222E43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361272;
/* rgb */ color: rgb(54, 18, 114);
/* oklch */ color: oklch(30.8% 0.149 292.2);
Tailwind
colors: {
  custom: {
    50: '#75559c',
    500: '#361272',
    950: '#000000',
  },
}
SCSS
$custom: #361272;
$custom-light: #75559c;
$custom-dark: #000000;
JSON
{
  "hex": "#361272",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 262.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.14856,
    "h": 292.2
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#361272
secondary
#7EA937
accent
#EF38AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361272

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

Preview Lab → · Contrast checker → · Palette generator →

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