#27063A#27063A

#27063A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.095 H 309.5°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#27063A
RGBrgb(39, 6, 58)
HSLhsl(278, 81%, 13%)
HSVhsv(278, 90%, 23%)
CMYKcmyk(32.8%, 89.7%, 0%, 77.3%)
CIE-LABlab(7.83, 27.14, -25.85)
CIE-LCHlch(7.83, 37.48, 316.40°)
OKLaboklab(21.77% 0.0604 -0.0734)
OKLCHoklch(21.77% 0.095 309.5)
XYZxyz(1.6654, 0.8671, 4.0818)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27063A #193A06
analogous
#0D063A #27063A #3A0633
triadic
#27063A #3A2706 #063A27
tetradic
#27063A #3A0D06 #193A06 #06333A
square
#27063A #3A0D06 #193A06 #06333A
split-complementary
#27063A #333A06 #063A0D
monochromatic
#13031C #13031C #27063A #4C0C71 #7211A9

Accessibility & contrast

On white

17.90
#27063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#27063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27063A
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27063A#FFFFFF#000000##FFFFFF
##27063A1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#241320
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #27063a;
/* rgb */ color: rgb(39, 6, 58);
/* oklch */ color: oklch(21.8% 0.095 309.5);
Tailwind
colors: {
  custom: {
    50: '#644a71',
    500: '#27063a',
    950: '#000000',
  },
}
SCSS
$custom: #27063a;
$custom-light: #644a71;
$custom-dark: #000000;
JSON
{
  "hex": "#27063a",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 278.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21773,
    "c": 0.09503,
    "h": 309.5
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#27063A
secondary
#427A22
accent
#F83079
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #27063A

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

Preview Lab → · Contrast checker → · Palette generator →

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