#231057#231057

#231057 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.118 H 287.0°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#231057
RGBrgb(35, 16, 87)
HSLhsl(256, 69%, 20%)
HSVhsv(256, 82%, 34%)
CMYKcmyk(59.8%, 81.6%, 0%, 65.9%)
CIE-LABlab(12.06, 29.66, -39.22)
CIE-LCHlch(12.06, 49.17, 307.09°)
OKLaboklab(25.52% 0.0344 -0.1129)
OKLCHoklch(25.52% 0.118 287)
XYZxyz(2.5982, 1.4159, 9.1514)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231057 #445710
analogous
#102157 #231057 #461057
triadic
#231057 #572310 #105723
tetradic
#231057 #571021 #445710 #105746
square
#231057 #571021 #445710 #105746
split-complementary
#231057 #574610 #215710
monochromatic
#0A051A #0E0623 #231057 #381A8B #4D23BE

Accessibility & contrast

On white

16.37
#231057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#231057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231057
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231057#FFFFFF#000000##FFFFFF
##2310571.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#0C2433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231057;
/* rgb */ color: rgb(35, 16, 87);
/* oklch */ color: oklch(25.5% 0.118 287.0);
Tailwind
colors: {
  custom: {
    50: '#655087',
    500: '#231057',
    950: '#000000',
  },
}
SCSS
$custom: #231057;
$custom-light: #655087;
$custom-dark: #000000;
JSON
{
  "hex": "#231057",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 256.056,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25518,
    "c": 0.118,
    "h": 287
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#231057
secondary
#779032
accent
#EC3CBD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231057

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

Preview Lab → · Contrast checker → · Palette generator →

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