#38249A#38249A

#38249A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.179 H 281.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#38249A
RGBrgb(56, 36, 154)
HSLhsl(250, 62%, 37%)
HSVhsv(250, 77%, 60%)
CMYKcmyk(63.6%, 76.6%, 0%, 39.6%)
CIE-LABlab(25.06, 42.98, -60.77)
CIE-LCHlch(25.06, 74.44, 305.27°)
OKLaboklab(37.29% 0.0343 -0.1753)
OKLCHoklch(37.29% 0.179 281.1)
XYZxyz(8.0927, 4.4350, 30.9952)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38249A #869A24
analogous
#244B9A #38249A #73249A
triadic
#38249A #9A3824 #249A38
tetradic
#38249A #9A244B #869A24 #249A73
square
#38249A #9A244B #869A24 #249A73
split-complementary
#38249A #9A7324 #4B9A24
monochromatic
#140D37 #261868 #38249A #4A30CC #745FDA

Accessibility & contrast

On white

11.13
#38249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#38249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38249A
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38249A#FFFFFF#000000##FFFFFF
##38249A1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #38249a;
/* rgb */ color: rgb(56, 36, 154);
/* oklch */ color: oklch(37.3% 0.179 281.1);
Tailwind
colors: {
  custom: {
    50: '#7c62b9',
    500: '#38249a',
    950: '#000000',
  },
}
SCSS
$custom: #38249a;
$custom-light: #7c62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38249a",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 250.169,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.17865,
    "h": 281.1
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#38249A
secondary
#AEBF5B
accent
#E543CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38249A

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

Preview Lab → · Contrast checker → · Palette generator →

#38249A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva