#341968#341968

#341968 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.129 H 292.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#341968
RGBrgb(52, 25, 104)
HSLhsl(261, 61%, 25%)
HSVhsv(261, 76%, 41%)
CMYKcmyk(50%, 76%, 0%, 59.2%)
CIE-LABlab(17.57, 32.91, -41.44)
CIE-LCHlch(17.57, 52.92, 308.46°)
OKLaboklab(30.4% 0.0497 -0.1188)
OKLCHoklch(30.4% 0.129 292.7)
XYZxyz(4.2618, 2.4247, 13.3375)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341968 #4D6819
analogous
#192668 #341968 #5B1968
triadic
#341968 #683419 #196834
tetradic
#341968 #681926 #4D6819 #19685B
square
#341968 #681926 #4D6819 #19685B
split-complementary
#341968 #685B19 #266819
monochromatic
#0C0619 #1B0D37 #341968 #4D2599 #6531CB

Accessibility & contrast

On white

14.14
#341968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341968
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341968#FFFFFF#000000##FFFFFF
##3419681.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#242E3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341968;
/* rgb */ color: rgb(52, 25, 104);
/* oklch */ color: oklch(30.4% 0.129 292.7);
Tailwind
colors: {
  custom: {
    50: '#715894',
    500: '#341968',
    950: '#000000',
  },
}
SCSS
$custom: #341968;
$custom-light: #715894;
$custom-dark: #000000;
JSON
{
  "hex": "#341968",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 260.506,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.12878,
    "h": 292.7
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#341968
secondary
#7D9E3F
accent
#E443AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341968

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

Preview Lab → · Contrast checker → · Palette generator →

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