#382ACA#382ACA

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

Color values

HEX#382ACA
RGBrgb(56, 42, 202)
HSLhsl(245, 66%, 48%)
HSVhsv(245, 79%, 79%)
CMYKcmyk(72.3%, 79.2%, 0%, 20.8%)
CIE-LABlab(31.25, 54.70, -79.22)
CIE-LCHlch(31.25, 96.27, 304.62°)
OKLaboklab(43.15% 0.019 -0.2291)
OKLCHoklch(43.15% 0.23 274.7)
XYZxyz(13.1160, 6.7597, 56.4792)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ACA #BCCA2A
analogous
#2A6CCA #382ACA #882ACA
triadic
#382ACA #CA382A #2ACA38
tetradic
#382ACA #CA2A6C #BCCA2A #2ACA88
square
#382ACA #CA2A6C #BCCA2A #2ACA88
split-complementary
#382ACA #CA882A #6CCA2A
monochromatic
#1C1565 #2A1F97 #382ACA #6155DC #9088E6

Accessibility & contrast

On white

8.93
#382ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382ACA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ACA#FFFFFF#000000##FFFFFF
##382ACA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382aca;
/* rgb */ color: rgb(56, 42, 202);
/* oklch */ color: oklch(43.1% 0.230 274.7);
Tailwind
colors: {
  custom: {
    50: '#8568dc',
    500: '#382aca',
    950: '#000000',
  },
}
SCSS
$custom: #382aca;
$custom-light: #8568dc;
$custom-dark: #000000;
JSON
{
  "hex": "#382aca",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 245.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43145,
    "c": 0.2299,
    "h": 274.7
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#382ACA
secondary
#C9D080
accent
#E93FDA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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