#27034E#27034E

#27034E is a very dark, vivid violet. Relative luminance 0.010; OKLCH L 23.5% C 0.121 H 297.5°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#27034E
RGBrgb(39, 3, 78)
HSLhsl(269, 93%, 16%)
HSVhsv(269, 96%, 31%)
CMYKcmyk(50%, 96.2%, 0%, 69.4%)
CIE-LABlab(9.37, 34.07, -37.47)
CIE-LCHlch(9.37, 50.64, 312.28°)
OKLaboklab(23.48% 0.0559 -0.1074)
OKLCHoklch(23.48% 0.121 297.5)
XYZxyz(2.2440, 1.0465, 7.2900)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27034E #2A4E03
analogous
#03044E #27034E #4C034E
triadic
#27034E #4E2703 #034E27
tetradic
#27034E #4E0304 #2A4E03 #034E4C
square
#27034E #4E0304 #2A4E03 #034E4C
split-complementary
#27034E #4E4C03 #044E03
monochromatic
#0F011D #0F011D #27034E #440589 #6208C4

Accessibility & contrast

On white

17.36
#27034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#27034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27034E
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27034E#FFFFFF#000000##FFFFFF
##27034E1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#1C1A2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #27034e;
/* rgb */ color: rgb(39, 3, 78);
/* oklch */ color: oklch(23.5% 0.121 297.5);
Tailwind
colors: {
  custom: {
    50: '#674a80',
    500: '#27034e',
    950: '#000000',
  },
}
SCSS
$custom: #27034e;
$custom-light: #674a80;
$custom-dark: #000000;
JSON
{
  "hex": "#27034e",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 268.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23478,
    "c": 0.12109,
    "h": 297.5
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#27034E
secondary
#598E1E
accent
#FF2998
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #27034E

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

Preview Lab → · Contrast checker → · Palette generator →

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