#27133B#27133B

#27133B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.075 H 304.3°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#27133B
RGBrgb(39, 19, 59)
HSLhsl(270, 51%, 15%)
HSVhsv(270, 68%, 23%)
CMYKcmyk(33.9%, 67.8%, 0%, 76.9%)
CIE-LABlab(10.65, 19.83, -22.01)
CIE-LCHlch(10.65, 29.63, 312.01°)
OKLaboklab(23.82% 0.0425 -0.0622)
OKLCHoklch(23.82% 0.075 304.3)
XYZxyz(1.8588, 1.2129, 4.2730)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27133B #273B13
analogous
#13133B #27133B #3B133B
triadic
#27133B #3B2713 #133B27
tetradic
#27133B #3B1313 #273B13 #133B3B
square
#27133B #3B1313 #273B13 #133B3B
split-complementary
#27133B #3B3B13 #133B13
monochromatic
#0F0717 #0F0717 #27133B #462269 #643198

Accessibility & contrast

On white

16.90
#27133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#27133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27133B
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27133B#FFFFFF#000000##FFFFFF
##27133B1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#0A1D3A
Tritanopia (blue-blind)
#231B24
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #27133b;
/* rgb */ color: rgb(39, 19, 59);
/* oklch */ color: oklch(23.8% 0.075 304.3);
Tailwind
colors: {
  custom: {
    50: '#635171',
    500: '#27133b',
    950: '#000000',
  },
}
SCSS
$custom: #27133b;
$custom-light: #635171;
$custom-dark: #000000;
JSON
{
  "hex": "#27133b",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 270,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23821,
    "c": 0.07533,
    "h": 304.3
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#27133B
secondary
#557336
accent
#DB4D94
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #27133B

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

Preview Lab → · Contrast checker → · Palette generator →

#27133B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva