#391268#391268

#391268 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.137 H 298.0°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#391268
RGBrgb(57, 18, 104)
HSLhsl(267, 70%, 24%)
HSVhsv(267, 83%, 41%)
CMYKcmyk(45.2%, 82.7%, 0%, 59.2%)
CIE-LABlab(17.00, 37.32, -42.36)
CIE-LCHlch(17.00, 56.45, 311.38°)
OKLaboklab(30.15% 0.0645 -0.1212)
OKLCHoklch(30.15% 0.137 298)
XYZxyz(4.4017, 2.3019, 13.3064)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391268 #416812
analogous
#121668 #391268 #641268
triadic
#391268 #683912 #126839
tetradic
#391268 #681216 #416812 #126864
square
#391268 #681216 #416812 #126864
split-complementary
#391268 #686412 #166812
monochromatic
#0E051A #1C0934 #391268 #561B9C #7224D0

Accessibility & contrast

On white

14.38
#391268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391268
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391268#FFFFFF#000000##FFFFFF
##3912681.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#2D2A3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391268;
/* rgb */ color: rgb(57, 18, 104);
/* oklch */ color: oklch(30.1% 0.137 298.0);
Tailwind
colors: {
  custom: {
    50: '#755594',
    500: '#391268',
    950: '#000000',
  },
}
SCSS
$custom: #391268;
$custom-light: #755594;
$custom-dark: #000000;
JSON
{
  "hex": "#391268",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 267.209,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.13733,
    "h": 298
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#391268
secondary
#70A036
accent
#ED3B9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391268

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

Preview Lab → · Contrast checker → · Palette generator →

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