#270F49#270F49

#270F49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.101 H 297.2°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#270F49
RGBrgb(39, 15, 73)
HSLhsl(265, 66%, 17%)
HSVhsv(265, 79%, 29%)
CMYKcmyk(46.6%, 79.5%, 0%, 71.4%)
CIE-LABlab(10.95, 26.54, -31.41)
CIE-LCHlch(10.95, 41.12, 310.20°)
OKLaboklab(24.41% 0.0461 -0.0898)
OKLCHoklch(24.41% 0.101 297.2)
XYZxyz(2.2098, 1.2540, 6.4277)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F49 #31490F
analogous
#0F1449 #270F49 #440F49
triadic
#270F49 #49270F #0F4927
tetradic
#270F49 #490F14 #31490F #0F4944
square
#270F49 #490F14 #31490F #0F4944
split-complementary
#270F49 #49440F #14490F
monochromatic
#0E0519 #0E0519 #270F49 #42197C #5D24AF

Accessibility & contrast

On white

16.79
#270F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#270F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F49
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F49#FFFFFF#000000##FFFFFF
##270F491.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#1E1E2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #270f49;
/* rgb */ color: rgb(39, 15, 73);
/* oklch */ color: oklch(24.4% 0.101 297.2);
Tailwind
colors: {
  custom: {
    50: '#65507c',
    500: '#270f49',
    950: '#000000',
  },
}
SCSS
$custom: #270f49;
$custom-light: #65507c;
$custom-dark: #000000;
JSON
{
  "hex": "#270f49",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 264.828,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24413,
    "c": 0.10094,
    "h": 297.2
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#270F49
secondary
#618330
accent
#E93FA3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #270F49

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

Preview Lab → · Contrast checker → · Palette generator →

#270F49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva