#382CC7#382CC7

#382CC7 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.225 H 274.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#382CC7
RGBrgb(56, 44, 199)
HSLhsl(245, 64%, 48%)
HSVhsv(245, 78%, 78%)
CMYKcmyk(71.9%, 77.9%, 0%, 22%)
CIE-LABlab(31.26, 52.81, -77.45)
CIE-LCHlch(31.26, 93.74, 304.29°)
OKLaboklab(43.06% 0.0189 -0.224)
OKLCHoklch(43.06% 0.225 274.8)
XYZxyz(12.8370, 6.7644, 54.6509)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CC7 #BBC72C
analogous
#2C6EC7 #382CC7 #852CC7
triadic
#382CC7 #C7382C #2CC738
tetradic
#382CC7 #C72C6E #BBC72C #2CC785
square
#382CC7 #C72C6E #BBC72C #2CC785
split-complementary
#382CC7 #C7852C #6EC72C
monochromatic
#1C1663 #2A2195 #382CC7 #6156DA #9089E5

Accessibility & contrast

On white

8.92
#382CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#382CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CC7
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CC7#FFFFFF#000000##FFFFFF
##382CC71.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382cc7;
/* rgb */ color: rgb(56, 44, 199);
/* oklch */ color: oklch(43.1% 0.225 274.8);
Tailwind
colors: {
  custom: {
    50: '#8569d9',
    500: '#382cc7',
    950: '#000000',
  },
}
SCSS
$custom: #382cc7;
$custom-light: #8569d9;
$custom-dark: #000000;
JSON
{
  "hex": "#382cc7",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 244.645,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.22479,
    "h": 274.8
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#382CC7
secondary
#C8CF80
accent
#E741DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382CC7

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

Preview Lab → · Contrast checker → · Palette generator →

#382CC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva