#341A68#341A68

#341A68 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.128 H 292.4°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#341A68
RGBrgb(52, 26, 104)
HSLhsl(260, 60%, 25%)
HSVhsv(260, 75%, 41%)
CMYKcmyk(50%, 75%, 0%, 59.2%)
CIE-LABlab(17.77, 32.36, -41.11)
CIE-LCHlch(17.77, 52.32, 308.20°)
OKLaboklab(30.55% 0.0487 -0.1178)
OKLCHoklch(30.55% 0.128 292.4)
XYZxyz(4.2836, 2.4682, 13.3447)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A68 #4E681A
analogous
#1A2768 #341A68 #5B1A68
triadic
#341A68 #68341A #1A6834
tetradic
#341A68 #681A27 #4E681A #1A685B
square
#341A68 #681A27 #4E681A #1A685B
split-complementary
#341A68 #685B1A #27681A
monochromatic
#0C0618 #1C0E37 #341A68 #4C2699 #6532CA

Accessibility & contrast

On white

14.06
#341A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A68
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A68#FFFFFF#000000##FFFFFF
##341A681.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#242E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341a68;
/* rgb */ color: rgb(52, 26, 104);
/* oklch */ color: oklch(30.5% 0.128 292.4);
Tailwind
colors: {
  custom: {
    50: '#715994',
    500: '#341a68',
    950: '#000000',
  },
}
SCSS
$custom: #341a68;
$custom-light: #715994;
$custom-dark: #000000;
JSON
{
  "hex": "#341a68",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.12751,
    "h": 292.4
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#341A68
secondary
#7E9D40
accent
#E345AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341A68

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

Preview Lab → · Contrast checker → · Palette generator →

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