#341B65#341B65

#341B65 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.4% C 0.122 H 293.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#341B65
RGBrgb(52, 27, 101)
HSLhsl(260, 58%, 25%)
HSVhsv(260, 73%, 40%)
CMYKcmyk(48.5%, 73.3%, 0%, 60.4%)
CIE-LABlab(17.71, 30.87, -39.25)
CIE-LCHlch(17.71, 49.94, 308.18°)
OKLaboklab(30.41% 0.0482 -0.1124)
OKLCHoklch(30.41% 0.122 293.2)
XYZxyz(4.1564, 2.4534, 12.5640)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B65 #4C651B
analogous
#1B2765 #341B65 #591B65
triadic
#341B65 #65341B #1B6534
tetradic
#341B65 #651B27 #4C651B #1B6559
square
#341B65 #651B27 #4C651B #1B6559
split-complementary
#341B65 #65591B #27651B
monochromatic
#0C0618 #1B0E35 #341B65 #4D2895 #6635C6

Accessibility & contrast

On white

14.09
#341B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B65
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B65#FFFFFF#000000##FFFFFF
##341B651.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.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: #341b65;
/* rgb */ color: rgb(52, 27, 101);
/* oklch */ color: oklch(30.4% 0.122 293.2);
Tailwind
colors: {
  custom: {
    50: '#715992',
    500: '#341b65',
    950: '#000000',
  },
}
SCSS
$custom: #341b65;
$custom-light: #715992;
$custom-dark: #000000;
JSON
{
  "hex": "#341b65",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 260.27,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30413,
    "c": 0.1223,
    "h": 293.2
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#341B65
secondary
#7C9A41
accent
#E147AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341B65

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

Preview Lab → · Contrast checker → · Palette generator →

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