#382691#382691

#382691 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.165 H 282.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#382691
RGBrgb(56, 38, 145)
HSLhsl(250, 58%, 36%)
HSVhsv(250, 74%, 57%)
CMYKcmyk(61.4%, 73.8%, 0%, 43.1%)
CIE-LABlab(24.55, 39.05, -56.07)
CIE-LCHlch(24.55, 68.33, 304.85°)
OKLaboklab(36.66% 0.035 -0.1616)
OKLCHoklch(36.66% 0.165 282.2)
XYZxyz(7.4332, 4.2708, 27.2152)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382691 #7F9126
analogous
#264A91 #382691 #6D2691
triadic
#382691 #913826 #269138
tetradic
#382691 #91264A #7F9126 #26916D
square
#382691 #91264A #7F9126 #26916D
split-complementary
#382691 #916D26 #4A9126
monochromatic
#130D30 #251961 #382691 #4B33C1 #715DD5

Accessibility & contrast

On white

11.33
#382691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#382691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382691
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382691#FFFFFF#000000##FFFFFF
##3826911.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382691;
/* rgb */ color: rgb(56, 38, 145);
/* oklch */ color: oklch(36.7% 0.165 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a62b2',
    500: '#382691',
    950: '#000000',
  },
}
SCSS
$custom: #382691;
$custom-light: #7a62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#382691",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 250.093,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36658,
    "c": 0.16536,
    "h": 282.2
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#382691
secondary
#A9BA59
accent
#E246C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382691

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

Preview Lab → · Contrast checker → · Palette generator →

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