#270F65#270F65

#270F65 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.136 H 285.9°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#270F65
RGBrgb(39, 15, 101)
HSLhsl(257, 74%, 23%)
HSVhsv(257, 85%, 40%)
CMYKcmyk(61.4%, 85.1%, 0%, 60.4%)
CIE-LABlab(13.90, 35.15, -45.56)
CIE-LCHlch(13.90, 57.54, 307.66°)
OKLaboklab(27.37% 0.0373 -0.1312)
OKLCHoklch(27.37% 0.136 285.9)
XYZxyz(3.3558, 1.7124, 12.4631)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F65 #4D650F
analogous
#0F2265 #270F65 #520F65
triadic
#270F65 #65270F #0F6527
tetradic
#270F65 #650F22 #4D650F #0F6552
square
#270F65 #650F22 #4D650F #0F6552
split-complementary
#270F65 #65520F #22650F
monochromatic
#0A041B #120730 #270F65 #3C179A #501FD0

Accessibility & contrast

On white

15.64
#270F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#270F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F65
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F65#FFFFFF#000000##FFFFFF
##270F651.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#06293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #270f65;
/* rgb */ color: rgb(39, 15, 101);
/* oklch */ color: oklch(27.4% 0.136 285.9);
Tailwind
colors: {
  custom: {
    50: '#6a5192',
    500: '#270f65',
    950: '#000000',
  },
}
SCSS
$custom: #270f65;
$custom-light: #6a5192;
$custom-dark: #000000;
JSON
{
  "hex": "#270f65",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 256.744,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27374,
    "c": 0.13645,
    "h": 285.9
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#270F65
secondary
#809E32
accent
#F137BD
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #270F65

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

Preview Lab → · Contrast checker → · Palette generator →

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