#341068#341068

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

Color values

HEX#341068
RGBrgb(52, 16, 104)
HSLhsl(265, 73%, 24%)
HSVhsv(265, 85%, 41%)
CMYKcmyk(50%, 84.6%, 0%, 59.2%)
CIE-LABlab(16.00, 37.40, -44.01)
CIE-LCHlch(16.00, 57.76, 310.36°)
OKLaboklab(29.3% 0.0578 -0.1263)
OKLCHoklch(29.3% 0.139 294.6)
XYZxyz(4.0995, 2.1000, 13.2834)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341068 #446810
analogous
#101868 #341068 #601068
triadic
#341068 #683410 #106834
tetradic
#341068 #681018 #446810 #106860
square
#341068 #681018 #446810 #106860
split-complementary
#341068 #686010 #186810
monochromatic
#0D041B #190833 #341068 #4F189D #6920D2

Accessibility & contrast

On white

14.79
#341068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341068
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341068#FFFFFF#000000##FFFFFF
##3410681.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#24293C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341068;
/* rgb */ color: rgb(52, 16, 104);
/* oklch */ color: oklch(29.3% 0.139 294.6);
Tailwind
colors: {
  custom: {
    50: '#725494',
    500: '#341068',
    950: '#000000',
  },
}
SCSS
$custom: #341068;
$custom-light: #725494;
$custom-dark: #000000;
JSON
{
  "hex": "#341068",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 264.545,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29303,
    "c": 0.13887,
    "h": 294.6
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#341068
secondary
#74A034
accent
#F038A5
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341068

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

Preview Lab → · Contrast checker → · Palette generator →

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