#270F53#270F53

#270F53 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.114 H 292.4°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#270F53
RGBrgb(39, 15, 83)
HSLhsl(261, 69%, 19%)
HSVhsv(261, 82%, 33%)
CMYKcmyk(53%, 81.9%, 0%, 67.5%)
CIE-LABlab(11.94, 29.61, -36.68)
CIE-LCHlch(11.94, 47.14, 308.91°)
OKLaboklab(25.42% 0.0434 -0.1053)
OKLCHoklch(25.42% 0.114 292.4)
XYZxyz(2.5684, 1.3974, 8.3163)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F53 #3B530F
analogous
#0F1953 #270F53 #490F53
triadic
#270F53 #53270F #0F5327
tetradic
#270F53 #530F19 #3B530F #0F5349
square
#270F53 #530F19 #3B530F #0F5349
split-complementary
#270F53 #53490F #19530F
monochromatic
#0C051A #0F061F #270F53 #3F1887 #5822BB

Accessibility & contrast

On white

16.41
#270F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#270F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F53
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F53#FFFFFF#000000##FFFFFF
##270F531.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#192230
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #270f53;
/* rgb */ color: rgb(39, 15, 83);
/* oklch */ color: oklch(25.4% 0.114 292.4);
Tailwind
colors: {
  custom: {
    50: '#675084',
    500: '#270f53',
    950: '#000000',
  },
}
SCSS
$custom: #270f53;
$custom-light: #675084;
$custom-dark: #000000;
JSON
{
  "hex": "#270f53",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 261.176,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25418,
    "c": 0.11387,
    "h": 292.4
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#270F53
secondary
#6C8D31
accent
#EC3CAE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #270F53

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

Preview Lab → · Contrast checker → · Palette generator →

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