#341A65#341A65

#341A65 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.124 H 293.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#341A65
RGBrgb(52, 26, 101)
HSLhsl(261, 59%, 25%)
HSVhsv(261, 74%, 40%)
CMYKcmyk(48.5%, 74.3%, 0%, 60.4%)
CIE-LABlab(17.50, 31.45, -39.59)
CIE-LCHlch(17.50, 50.56, 308.46°)
OKLaboklab(30.26% 0.0493 -0.1134)
OKLCHoklch(30.26% 0.124 293.5)
XYZxyz(4.1339, 2.4083, 12.5564)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A65 #4B651A
analogous
#1A2665 #341A65 #5A1A65
triadic
#341A65 #65341A #1A6534
tetradic
#341A65 #651A26 #4B651A #1A655A
square
#341A65 #651A26 #4B651A #1A655A
split-complementary
#341A65 #655A1A #26651A
monochromatic
#0D0618 #1B0D34 #341A65 #4D2796 #6633C6

Accessibility & contrast

On white

14.17
#341A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A65
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A65#FFFFFF#000000##FFFFFF
##341A651.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#262D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341a65;
/* rgb */ color: rgb(52, 26, 101);
/* oklch */ color: oklch(30.3% 0.124 293.5);
Tailwind
colors: {
  custom: {
    50: '#715992',
    500: '#341a65',
    950: '#000000',
  },
}
SCSS
$custom: #341a65;
$custom-light: #715992;
$custom-dark: #000000;
JSON
{
  "hex": "#341a65",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 260.8,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.12364,
    "h": 293.5
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#341A65
secondary
#7B9B40
accent
#E246AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341A65

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

Preview Lab → · Contrast checker → · Palette generator →

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