#38264E#38264E

#38264E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.0% C 0.072 H 303.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#38264E
RGBrgb(56, 38, 78)
HSLhsl(267, 34%, 23%)
HSVhsv(267, 51%, 31%)
CMYKcmyk(28.2%, 51.3%, 0%, 69.4%)
CIE-LABlab(19.13, 18.03, -21.59)
CIE-LCHlch(19.13, 28.13, 309.86°)
OKLaboklab(31.02% 0.0396 -0.0605)
OKLCHoklch(31.02% 0.072 303.2)
XYZxyz(3.6988, 2.7770, 7.5474)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38264E #3C4E26
analogous
#26284E #38264E #4C264E
triadic
#38264E #4E3826 #264E38
tetradic
#38264E #4E2628 #3C4E26 #264E4C
square
#38264E #4E2628 #3C4E26 #264E4C
split-complementary
#38264E #4E4C26 #284E26
monochromatic
#0F0A15 #1A1225 #38264E #563A77 #734EA0

Accessibility & contrast

On white

13.50
#38264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#38264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38264E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38264E#FFFFFF#000000##FFFFFF
##38264E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#342D36
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #38264e;
/* rgb */ color: rgb(56, 38, 78);
/* oklch */ color: oklch(31.0% 0.072 303.2);
Tailwind
colors: {
  custom: {
    50: '#706080',
    500: '#38264e',
    950: '#000000',
  },
}
SCSS
$custom: #38264e;
$custom-light: #706080;
$custom-dark: #000000;
JSON
{
  "hex": "#38264e",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 267,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3102,
    "c": 0.07226,
    "h": 303.2
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#38264E
secondary
#6A814F
accent
#CB5D99
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #38264E

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

Preview Lab → · Contrast checker → · Palette generator →

#38264E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva