#231064#231064

#231064 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.135 H 283.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#231064
RGBrgb(35, 16, 100)
HSLhsl(254, 72%, 23%)
HSVhsv(254, 84%, 39%)
CMYKcmyk(65%, 84%, 0%, 60.8%)
CIE-LABlab(13.52, 33.85, -45.54)
CIE-LCHlch(13.52, 56.74, 306.62°)
OKLaboklab(26.97% 0.0303 -0.1313)
OKLCHoklch(26.97% 0.135 283)
XYZxyz(3.1780, 1.6478, 12.2047)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231064 #516410
analogous
#102764 #231064 #4D1064
triadic
#231064 #642310 #106423
tetradic
#231064 #641027 #516410 #10644D
square
#231064 #641027 #516410 #10644D
split-complementary
#231064 #644D10 #276410
monochromatic
#09041A #11082F #231064 #351899 #4821CE

Accessibility & contrast

On white

15.79
#231064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#231064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231064
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231064#FFFFFF#000000##FFFFFF
##2310641.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231064;
/* rgb */ color: rgb(35, 16, 100);
/* oklch */ color: oklch(27.0% 0.135 283.0);
Tailwind
colors: {
  custom: {
    50: '#685191',
    500: '#231064',
    950: '#000000',
  },
}
SCSS
$custom: #231064;
$custom-light: #685191;
$custom-dark: #000000;
JSON
{
  "hex": "#231064",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 253.571,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26971,
    "c": 0.13476,
    "h": 283
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#231064
secondary
#859D33
accent
#EF39C6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231064

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

Preview Lab → · Contrast checker → · Palette generator →

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