#391263#391263

#391263 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.132 H 300.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#391263
RGBrgb(57, 18, 99)
HSLhsl(269, 69%, 23%)
HSVhsv(269, 82%, 39%)
CMYKcmyk(42.4%, 81.8%, 0%, 61.2%)
CIE-LABlab(16.52, 35.97, -39.84)
CIE-LCHlch(16.52, 53.68, 312.07°)
OKLaboklab(29.67% 0.066 -0.1139)
OKLCHoklch(29.67% 0.132 300.1)
XYZxyz(4.1552, 2.2033, 12.0083)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391263 #3C6312
analogous
#121363 #391263 #611263
triadic
#391263 #633912 #126339
tetradic
#391263 #631213 #3C6312 #126361
square
#391263 #631213 #3C6312 #126361
split-complementary
#391263 #636112 #136312
monochromatic
#0F051A #1B092F #391263 #571B97 #7525CB

Accessibility & contrast

On white

14.58
#391263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391263
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391263#FFFFFF#000000##FFFFFF
##3912631.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#2F283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391263;
/* rgb */ color: rgb(57, 18, 99);
/* oklch */ color: oklch(29.7% 0.132 300.1);
Tailwind
colors: {
  custom: {
    50: '#745590',
    500: '#391263',
    950: '#000000',
  },
}
SCSS
$custom: #391263;
$custom-light: #745590;
$custom-dark: #000000;
JSON
{
  "hex": "#391263",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 268.889,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29666,
    "c": 0.13162,
    "h": 300.1
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#391263
secondary
#6A9B36
accent
#EC3C97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #391263

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

Preview Lab → · Contrast checker → · Palette generator →

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