#38263E#38263E

#38263E is a dark, muted purple. Relative luminance 0.026; OKLCH L 30.1% C 0.049 H 317.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#38263E
RGBrgb(56, 38, 62)
HSLhsl(285, 24%, 20%)
HSVhsv(285, 39%, 24%)
CMYKcmyk(9.7%, 38.7%, 0%, 75.7%)
CIE-LABlab(18.25, 13.69, -12.01)
CIE-LCHlch(18.25, 18.21, 318.75°)
OKLaboklab(30.07% 0.0358 -0.0329)
OKLCHoklch(30.07% 0.049 317.5)
XYZxyz(3.1934, 2.5749, 4.8853)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38263E #2C3E26
analogous
#2C263E #38263E #3E2638
triadic
#38263E #3E3826 #263E38
tetradic
#38263E #3E2C26 #2C3E26 #26383E
square
#38263E #3E2C26 #2C3E26 #26383E
split-complementary
#38263E #383E26 #263E2C
monochromatic
#110C13 #160F18 #38263E #5A3D64 #7D558A

Accessibility & contrast

On white

13.86
#38263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#38263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38263E
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38263E#FFFFFF#000000##FFFFFF
##38263E1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3F
Deuteranopia (green-blind)
#272D3D
Tritanopia (blue-blind)
#38292F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #38263e;
/* rgb */ color: rgb(56, 38, 62);
/* oklch */ color: oklch(30.1% 0.049 317.5);
Tailwind
colors: {
  custom: {
    50: '#6f6073',
    500: '#38263e',
    950: '#000000',
  },
}
SCSS
$custom: #38263e;
$custom-light: #6f6073;
$custom-dark: #000000;
JSON
{
  "hex": "#38263e",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 285,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30074,
    "c": 0.04862,
    "h": 317.5
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#38263E
secondary
#587050
accent
#C0677E
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070508
muted
#7A797B

Preview Lab

Preview with #38263E

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

Preview Lab → · Contrast checker → · Palette generator →

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