#361FA6#361FA6

#361FA6 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.198 H 278.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#361FA6
RGBrgb(54, 31, 166)
HSLhsl(250, 69%, 39%)
HSVhsv(250, 81%, 65%)
CMYKcmyk(67.5%, 81.3%, 0%, 34.9%)
CIE-LABlab(25.31, 48.92, -67.67)
CIE-LCHlch(25.31, 83.50, 305.86°)
OKLaboklab(37.81% 0.0308 -0.1954)
OKLCHoklch(37.81% 0.198 278.9)
XYZxyz(8.8920, 4.5167, 36.4722)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361FA6 #8FA61F
analogous
#1F4BA6 #361FA6 #791FA6
triadic
#361FA6 #A6361F #1FA636
tetradic
#361FA6 #A61F4B #8FA61F #1FA679
square
#361FA6 #A61F4B #8FA61F #1FA679
split-complementary
#361FA6 #A6791F #4BA61F
monochromatic
#140C3F #251572 #361FA6 #482BD7 #755EE1

Accessibility & contrast

On white

11.03
#361FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#361FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361FA6
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361FA6#FFFFFF#000000##FFFFFF
##361FA61.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #361fa6;
/* rgb */ color: rgb(54, 31, 166);
/* oklch */ color: oklch(37.8% 0.198 278.9);
Tailwind
colors: {
  custom: {
    50: '#7e5fc2',
    500: '#361fa6',
    950: '#000000',
  },
}
SCSS
$custom: #361fa6;
$custom-light: #7e5fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#361fa6",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 250.222,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.19784,
    "h": 278.9
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#361FA6
secondary
#B3C55B
accent
#EB3CCE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #361FA6

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

Preview Lab → · Contrast checker → · Palette generator →

#361FA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva