#341266#341266

#341266 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.135 H 295.0°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#341266
RGBrgb(52, 18, 102)
HSLhsl(264, 70%, 24%)
HSVhsv(264, 82%, 40%)
CMYKcmyk(49%, 82.4%, 0%, 60%)
CIE-LABlab(16.11, 35.93, -42.52)
CIE-LCHlch(16.11, 55.66, 310.20°)
OKLaboklab(29.32% 0.0568 -0.1219)
OKLCHoklch(29.32% 0.135 295)
XYZxyz(4.0301, 2.1219, 12.7650)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341266 #446612
analogous
#121A66 #341266 #5E1266
triadic
#341266 #663412 #126634
tetradic
#341266 #66121A #446612 #12665E
square
#341266 #66121A #446612 #12665E
split-complementary
#341266 #665E12 #1A6612
monochromatic
#0D051A #190932 #341266 #4F1B9A #6924CE

Accessibility & contrast

On white

14.74
#341266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341266
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341266#FFFFFF#000000##FFFFFF
##3412661.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#25293C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341266;
/* rgb */ color: rgb(52, 18, 102);
/* oklch */ color: oklch(29.3% 0.135 295.0);
Tailwind
colors: {
  custom: {
    50: '#725492',
    500: '#341266',
    950: '#000000',
  },
}
SCSS
$custom: #341266;
$custom-light: #725492;
$custom-dark: #000000;
JSON
{
  "hex": "#341266",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 264.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29318,
    "c": 0.1345,
    "h": 295
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#341266
secondary
#749E36
accent
#ED3BA5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341266

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

Preview Lab → · Contrast checker → · Palette generator →

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