#361B6F#361B6F

#361B6F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.135 H 291.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#361B6F
RGBrgb(54, 27, 111)
HSLhsl(259, 61%, 27%)
HSVhsv(259, 76%, 44%)
CMYKcmyk(51.4%, 75.7%, 0%, 56.5%)
CIE-LABlab(18.87, 34.29, -43.88)
CIE-LCHlch(18.87, 55.69, 308.01°)
OKLaboklab(31.58% 0.0493 -0.1259)
OKLCHoklch(31.58% 0.135 291.4)
XYZxyz(4.7817, 2.7157, 15.3081)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B6F #546F1B
analogous
#1B2A6F #361B6F #601B6F
triadic
#361B6F #6F361B #1B6F36
tetradic
#361B6F #6F1B2A #546F1B #1B6F60
square
#361B6F #6F1B2A #546F1B #1B6F60
split-complementary
#361B6F #6F601B #2A6F1B
monochromatic
#0C0619 #1E0F3E #361B6F #4E27A0 #6736CE

Accessibility & contrast

On white

13.61
#361B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#361B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B6F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B6F#FFFFFF#000000##FFFFFF
##361B6F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#233143
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361b6f;
/* rgb */ color: rgb(54, 27, 111);
/* oklch */ color: oklch(31.6% 0.135 291.4);
Tailwind
colors: {
  custom: {
    50: '#735a99',
    500: '#361b6f',
    950: '#000000',
  },
}
SCSS
$custom: #361b6f;
$custom-light: #735a99;
$custom-dark: #000000;
JSON
{
  "hex": "#361b6f",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 259.286,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31579,
    "c": 0.1352,
    "h": 291.4
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#361B6F
secondary
#84A442
accent
#E444B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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