#382485#382485

#382485 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.152 H 284.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#382485
RGBrgb(56, 36, 133)
HSLhsl(252, 57%, 33%)
HSVhsv(252, 73%, 52%)
CMYKcmyk(57.9%, 72.9%, 0%, 47.8%)
CIE-LABlab(22.98, 36.37, -51.16)
CIE-LCHlch(22.98, 62.77, 305.41°)
OKLaboklab(35.19% 0.0392 -0.1472)
OKLCHoklch(35.19% 0.152 284.9)
XYZxyz(6.4941, 3.7956, 22.5762)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382485 #718524
analogous
#244085 #382485 #682485
triadic
#382485 #853824 #248538
tetradic
#382485 #852440 #718524 #248568
square
#382485 #852440 #718524 #248568
split-complementary
#382485 #856824 #408524
monochromatic
#0F0A25 #241755 #382485 #4C31B5 #6D53D0

Accessibility & contrast

On white

11.94
#382485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#382485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382485
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382485#FFFFFF#000000##FFFFFF
##3824851.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#133E52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #382485;
/* rgb */ color: rgb(56, 36, 133);
/* oklch */ color: oklch(35.2% 0.152 284.9);
Tailwind
colors: {
  custom: {
    50: '#7861a9',
    500: '#382485',
    950: '#000000',
  },
}
SCSS
$custom: #382485;
$custom-light: #7861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#382485",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 252.371,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.15235,
    "h": 284.9
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#382485
secondary
#A0B450
accent
#E147C1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #382485

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

Preview Lab → · Contrast checker → · Palette generator →

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