#231264#231264

#231264 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.133 H 282.6°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#231264
RGBrgb(35, 18, 100)
HSLhsl(252, 69%, 23%)
HSVhsv(252, 82%, 39%)
CMYKcmyk(65%, 82%, 0%, 60.8%)
CIE-LABlab(13.88, 32.79, -44.93)
CIE-LCHlch(13.88, 55.63, 306.12°)
OKLaboklab(27.23% 0.0289 -0.1296)
OKLCHoklch(27.23% 0.133 282.6)
XYZxyz(3.2090, 1.7098, 12.2150)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231264 #536412
analogous
#122A64 #231264 #4C1264
triadic
#231264 #642312 #126423
tetradic
#231264 #64122A #536412 #12644C
square
#231264 #64122A #536412 #12644C
split-complementary
#231264 #644C12 #2A6412
monochromatic
#09051A #110930 #231264 #351B98 #4725CC

Accessibility & contrast

On white

15.65
#231264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#231264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231264
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231264#FFFFFF#000000##FFFFFF
##2312641.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231264;
/* rgb */ color: rgb(35, 18, 100);
/* oklch */ color: oklch(27.2% 0.133 282.6);
Tailwind
colors: {
  custom: {
    50: '#685291',
    500: '#231264',
    950: '#000000',
  },
}
SCSS
$custom: #231264;
$custom-light: #685291;
$custom-dark: #000000;
JSON
{
  "hex": "#231264",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 252.439,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27226,
    "c": 0.13278,
    "h": 282.6
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#231264
secondary
#879C36
accent
#EC3BC8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231264

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

Preview Lab → · Contrast checker → · Palette generator →

#231264 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva