#38296D#38296D

#38296D is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.113 H 289.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#38296D
RGBrgb(56, 41, 109)
HSLhsl(253, 45%, 29%)
HSVhsv(253, 62%, 43%)
CMYKcmyk(48.6%, 62.4%, 0%, 57.3%)
CIE-LABlab(22.05, 25.58, -37.39)
CIE-LCHlch(22.05, 45.30, 304.38°)
OKLaboklab(33.88% 0.0369 -0.1068)
OKLCHoklch(33.88% 0.113 289.1)
XYZxyz(5.1834, 3.5306, 14.8734)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38296D #5E6D29
analogous
#293C6D #38296D #5A296D
triadic
#38296D #6D3829 #296D38
tetradic
#38296D #6D293C #5E6D29 #296D5A
square
#38296D #6D293C #5E6D29 #296D5A
split-complementary
#38296D #6D5A29 #3C6D29
monochromatic
#0B0816 #211841 #38296D #4F3A99 #6A52BE

Accessibility & contrast

On white

12.31
#38296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#38296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38296D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38296D#FFFFFF#000000##FFFFFF
##38296D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#273846
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #38296d;
/* rgb */ color: rgb(56, 41, 109);
/* oklch */ color: oklch(33.9% 0.113 289.1);
Tailwind
colors: {
  custom: {
    50: '#736397',
    500: '#38296d',
    950: '#000000',
  },
}
SCSS
$custom: #38296d;
$custom-light: #736397;
$custom-dark: #000000;
JSON
{
  "hex": "#38296d",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 253.235,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.11299,
    "h": 289.1
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#38296D
secondary
#8E9F53
accent
#D553B8
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #38296D

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

Preview Lab → · Contrast checker → · Palette generator →

#38296D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva