#341B69#341B69

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

Color values

HEX#341B69
RGBrgb(52, 27, 105)
HSLhsl(259, 59%, 26%)
HSVhsv(259, 74%, 41%)
CMYKcmyk(50.5%, 74.3%, 0%, 58.8%)
CIE-LABlab(18.07, 32.09, -41.28)
CIE-LCHlch(18.07, 52.29, 307.86°)
OKLaboklab(30.79% 0.0474 -0.1184)
OKLCHoklch(30.79% 0.128 291.8)
XYZxyz(4.3572, 2.5337, 13.6213)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B69 #50691B
analogous
#1B2969 #341B69 #5B1B69
triadic
#341B69 #69341B #1B6934
tetradic
#341B69 #691B29 #50691B #1B695B
square
#341B69 #691B29 #50691B #1B695B
split-complementary
#341B69 #695B1B #29691B
monochromatic
#0C0618 #1C0E38 #341B69 #4C289A #6434CA

Accessibility & contrast

On white

13.94
#341B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341B69
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B69#FFFFFF#000000##FFFFFF
##341B691.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#232F40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341b69;
/* rgb */ color: rgb(52, 27, 105);
/* oklch */ color: oklch(30.8% 0.128 291.8);
Tailwind
colors: {
  custom: {
    50: '#715a95',
    500: '#341b69',
    950: '#000000',
  },
}
SCSS
$custom: #341b69;
$custom-light: #715a95;
$custom-dark: #000000;
JSON
{
  "hex": "#341b69",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 259.231,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30786,
    "c": 0.12751,
    "h": 291.8
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#341B69
secondary
#819E42
accent
#E246B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341B69

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

Preview Lab → · Contrast checker → · Palette generator →

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