#382CC1#382CC1

#382CC1 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.218 H 275.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#382CC1
RGBrgb(56, 44, 193)
HSLhsl(245, 63%, 46%)
HSVhsv(245, 77%, 76%)
CMYKcmyk(71%, 77.2%, 0%, 24.3%)
CIE-LABlab(30.62, 50.96, -75.00)
CIE-LCHlch(30.62, 90.67, 304.19°)
OKLaboklab(42.42% 0.0203 -0.2169)
OKLCHoklch(42.42% 0.218 275.4)
XYZxyz(12.1540, 6.4912, 51.0541)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CC1 #B5C12C
analogous
#2C6BC1 #382CC1 #832CC1
triadic
#382CC1 #C1382C #2CC138
tetradic
#382CC1 #C12C6B #B5C12C #2CC183
square
#382CC1 #C12C6B #B5C12C #2CC183
split-complementary
#382CC1 #C1832C #6BC12C
monochromatic
#1B155D #2A218F #382CC1 #5D53D8 #8C84E3

Accessibility & contrast

On white

9.14
#382CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#382CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CC1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CC1#FFFFFF#000000##FFFFFF
##382CC11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0041BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #382cc1;
/* rgb */ color: rgb(56, 44, 193);
/* oklch */ color: oklch(42.4% 0.218 275.4);
Tailwind
colors: {
  custom: {
    50: '#8368d5',
    500: '#382cc1',
    950: '#000000',
  },
}
SCSS
$custom: #382cc1;
$custom-light: #8368d5;
$custom-dark: #000000;
JSON
{
  "hex": "#382cc1",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 244.832,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.21781,
    "h": 275.4
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#382CC1
secondary
#C6CC7D
accent
#E642D9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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