#361274#361274

#361274 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.151 H 291.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#361274
RGBrgb(54, 18, 116)
HSLhsl(262, 73%, 26%)
HSVhsv(262, 84%, 45%)
CMYKcmyk(53.4%, 84.5%, 0%, 54.5%)
CIE-LABlab(17.82, 40.19, -48.84)
CIE-LCHlch(17.82, 63.25, 309.45°)
OKLaboklab(31% 0.0553 -0.1403)
OKLCHoklch(31% 0.151 291.5)
XYZxyz(4.8891, 2.4776, 16.7402)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361274 #507412
analogous
#121F74 #361274 #671274
triadic
#361274 #743612 #127436
tetradic
#361274 #74121F #507412 #127467
square
#361274 #74121F #507412 #127467
split-complementary
#361274 #746712 #1F7412
monochromatic
#0C041A #1D0A3F #361274 #4F1AA9 #6823DD

Accessibility & contrast

On white

14.04
#361274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361274
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361274#FFFFFF#000000##FFFFFF
##3612741.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#202F44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361274;
/* rgb */ color: rgb(54, 18, 116);
/* oklch */ color: oklch(31.0% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#75569d',
    500: '#361274',
    950: '#000000',
  },
}
SCSS
$custom: #361274;
$custom-light: #75569d;
$custom-dark: #000000;
JSON
{
  "hex": "#361274",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 262.041,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30997,
    "c": 0.15086,
    "h": 291.5
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#361274
secondary
#80AB37
accent
#F038AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361274

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

Preview Lab → · Contrast checker → · Palette generator →

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