#341B67#341B67

#341B67 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.125 H 292.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#341B67
RGBrgb(52, 27, 103)
HSLhsl(260, 58%, 25%)
HSVhsv(260, 74%, 40%)
CMYKcmyk(49.5%, 73.8%, 0%, 59.6%)
CIE-LABlab(17.89, 31.48, -40.27)
CIE-LCHlch(17.89, 51.12, 308.01°)
OKLaboklab(30.6% 0.0478 -0.1154)
OKLCHoklch(30.6% 0.125 292.5)
XYZxyz(4.2556, 2.4931, 13.0863)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B67 #4E671B
analogous
#1B2867 #341B67 #5A1B67
triadic
#341B67 #67341B #1B6734
tetradic
#341B67 #671B28 #4E671B #1B675A
square
#341B67 #671B28 #4E671B #1B675A
split-complementary
#341B67 #675A1B #28671B
monochromatic
#0C0618 #1C0E37 #341B67 #4C2897 #6534C8

Accessibility & contrast

On white

14.01
#341B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341B67
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B67#FFFFFF#000000##FFFFFF
##341B671.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341b67;
/* rgb */ color: rgb(52, 27, 103);
/* oklch */ color: oklch(30.6% 0.125 292.5);
Tailwind
colors: {
  custom: {
    50: '#715993',
    500: '#341b67',
    950: '#000000',
  },
}
SCSS
$custom: #341b67;
$custom-light: #715993;
$custom-dark: #000000;
JSON
{
  "hex": "#341b67",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 259.737,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30598,
    "c": 0.12491,
    "h": 292.5
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#341B67
secondary
#7E9C42
accent
#E246AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341B67

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

Preview Lab → · Contrast checker → · Palette generator →

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