#341BA0#341BA0

#341BA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.194 H 279.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#341BA0
RGBrgb(52, 27, 160)
HSLhsl(251, 71%, 37%)
HSVhsv(251, 83%, 63%)
CMYKcmyk(67.5%, 83.1%, 0%, 37.3%)
CIE-LABlab(23.84, 48.77, -66.47)
CIE-LCHlch(23.84, 82.44, 306.27°)
OKLaboklab(36.55% 0.0315 -0.1919)
OKLCHoklch(36.55% 0.194 279.3)
XYZxyz(8.1512, 4.0513, 33.6033)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341BA0 #87A01B
analogous
#1B45A0 #341BA0 #771BA0
triadic
#341BA0 #A0341B #1BA034
tetradic
#341BA0 #A01B45 #87A01B #1BA077
square
#341BA0 #A01B45 #87A01B #1BA077
split-complementary
#341BA0 #A0771B #45A01B
monochromatic
#120937 #23126C #341BA0 #4524D4 #6E53E2

Accessibility & contrast

On white

11.60
#341BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#341BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341BA0
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341BA0#FFFFFF#000000##FFFFFF
##341BA01.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #341ba0;
/* rgb */ color: rgb(52, 27, 160);
/* oklch */ color: oklch(36.5% 0.194 279.3);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#341ba0',
    950: '#000000',
  },
}
SCSS
$custom: #341ba0;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#341ba0",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 251.278,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.19448,
    "h": 279.3
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#341BA0
secondary
#AFC552
accent
#EE3ACC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341BA0

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

Preview Lab → · Contrast checker → · Palette generator →

#341BA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva