#382265#382265

#382265 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.112 H 294.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#382265
RGBrgb(56, 34, 101)
HSLhsl(260, 50%, 26%)
HSVhsv(260, 66%, 40%)
CMYKcmyk(44.6%, 66.3%, 0%, 60.4%)
CIE-LABlab(19.74, 27.52, -35.93)
CIE-LCHlch(19.74, 45.26, 307.45°)
OKLaboklab(31.99% 0.0462 -0.1025)
OKLCHoklch(31.99% 0.112 294.3)
XYZxyz(4.5512, 2.9243, 12.6340)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382265 #4F6522
analogous
#222E65 #382265 #5A2265
triadic
#382265 #653822 #226538
tetradic
#382265 #65222E #4F6522 #22655A
square
#382265 #65222E #4F6522 #22655A
split-complementary
#382265 #655A22 #2E6522
monochromatic
#0D0817 #1F1337 #382265 #513193 #6B42BF

Accessibility & contrast

On white

13.25
#382265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#382265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382265
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382265#FFFFFF#000000##FFFFFF
##3822651.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#2C3140
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #382265;
/* rgb */ color: rgb(56, 34, 101);
/* oklch */ color: oklch(32.0% 0.112 294.3);
Tailwind
colors: {
  custom: {
    50: '#735e91',
    500: '#382265',
    950: '#000000',
  },
}
SCSS
$custom: #382265;
$custom-light: #735e91;
$custom-dark: #000000;
JSON
{
  "hex": "#382265",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 259.701,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.11242,
    "h": 294.3
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#382265
secondary
#7F994A
accent
#D94FAC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #382265

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

Preview Lab → · Contrast checker → · Palette generator →

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