#341264#341264

#341264 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.132 H 295.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#341264
RGBrgb(52, 18, 100)
HSLhsl(265, 69%, 23%)
HSVhsv(265, 82%, 39%)
CMYKcmyk(48%, 82%, 0%, 60.8%)
CIE-LABlab(15.92, 35.36, -41.52)
CIE-LCHlch(15.92, 54.54, 310.42°)
OKLaboklab(29.12% 0.0575 -0.119)
OKLCHoklch(29.12% 0.132 295.8)
XYZxyz(3.9321, 2.0827, 12.2489)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341264 #426412
analogous
#121964 #341264 #5D1264
triadic
#341264 #643412 #126434
tetradic
#341264 #641219 #426412 #12645D
square
#341264 #641219 #426412 #12645D
split-complementary
#341264 #645D12 #196412
monochromatic
#0D051A #190930 #341264 #4F1B98 #6A25CC

Accessibility & contrast

On white

14.82
#341264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341264
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341264#FFFFFF#000000##FFFFFF
##3412641.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#27293B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341264;
/* rgb */ color: rgb(52, 18, 100);
/* oklch */ color: oklch(29.1% 0.132 295.8);
Tailwind
colors: {
  custom: {
    50: '#715491',
    500: '#341264',
    950: '#000000',
  },
}
SCSS
$custom: #341264;
$custom-light: #715491;
$custom-dark: #000000;
JSON
{
  "hex": "#341264",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 264.878,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29118,
    "c": 0.13213,
    "h": 295.8
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#341264
secondary
#729C36
accent
#EC3BA3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341264

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

Preview Lab → · Contrast checker → · Palette generator →

#341264 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva