#361E8F#361E8F

#361E8F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.172 H 282.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#361E8F
RGBrgb(54, 30, 143)
HSLhsl(253, 65%, 34%)
HSVhsv(253, 79%, 56%)
CMYKcmyk(62.2%, 79%, 0%, 43.9%)
CIE-LABlab(22.64, 42.46, -57.98)
CIE-LCHlch(22.64, 71.87, 306.21°)
OKLaboklab(35.21% 0.0382 -0.1672)
OKLCHoklch(35.21% 0.172 282.9)
XYZxyz(6.9420, 3.6955, 26.3288)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E8F #778F1E
analogous
#1E3F8F #361E8F #6F1E8F
triadic
#361E8F #8F361E #1E8F36
tetradic
#361E8F #8F1E3F #778F1E #1E8F6F
square
#361E8F #8F1E3F #778F1E #1E8F6F
split-complementary
#361E8F #8F6F1E #3F8F1E
monochromatic
#10092A #23135C #361E8F #4929C2 #6B4EDA

Accessibility & contrast

On white

12.07
#361E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#361E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E8F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E8F#FFFFFF#000000##FFFFFF
##361E8F1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361e8f;
/* rgb */ color: rgb(54, 30, 143);
/* oklch */ color: oklch(35.2% 0.172 282.9);
Tailwind
colors: {
  custom: {
    50: '#795db1',
    500: '#361e8f',
    950: '#000000',
  },
}
SCSS
$custom: #361e8f;
$custom-light: #795db1;
$custom-dark: #000000;
JSON
{
  "hex": "#361e8f",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 252.743,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35206,
    "c": 0.1715,
    "h": 282.9
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#361E8F
secondary
#A5BC4C
accent
#E840C4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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