#27133F#27133F

#27133F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.1% C 0.081 H 301.5°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#27133F
RGBrgb(39, 19, 63)
HSLhsl(267, 54%, 16%)
HSVhsv(267, 70%, 25%)
CMYKcmyk(38.1%, 69.8%, 0%, 75.3%)
CIE-LABlab(10.96, 21.04, -24.36)
CIE-LCHlch(10.96, 32.19, 310.82°)
OKLaboklab(24.15% 0.0424 -0.0691)
OKLCHoklch(24.15% 0.081 301.5)
XYZxyz(1.9666, 1.2560, 4.8405)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27133F #2B3F13
analogous
#13153F #27133F #3D133F
triadic
#27133F #3F2713 #133F27
tetradic
#27133F #3F1315 #2B3F13 #133F3D
square
#27133F #3F1315 #2B3F13 #133F3D
split-complementary
#27133F #3F3D13 #153F13
monochromatic
#0F0718 #0F0718 #27133F #44216E #612F9D

Accessibility & contrast

On white

16.78
#27133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#27133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27133F
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27133F#FFFFFF#000000##FFFFFF
##27133F1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#061D3E
Tritanopia (blue-blind)
#221C26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #27133f;
/* rgb */ color: rgb(39, 19, 63);
/* oklch */ color: oklch(24.1% 0.081 301.5);
Tailwind
colors: {
  custom: {
    50: '#635274',
    500: '#27133f',
    950: '#000000',
  },
}
SCSS
$custom: #27133f;
$custom-light: #635274;
$custom-dark: #000000;
JSON
{
  "hex": "#27133f",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 267.273,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24148,
    "c": 0.08105,
    "h": 301.5
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#27133F
secondary
#5A7836
accent
#DD4B9B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #27133F

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

Preview Lab → · Contrast checker → · Palette generator →

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