#231265#231265

#231265 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.134 H 282.3°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#231265
RGBrgb(35, 18, 101)
HSLhsl(252, 70%, 23%)
HSVhsv(252, 82%, 40%)
CMYKcmyk(65.3%, 82.2%, 0%, 60.4%)
CIE-LABlab(14.00, 33.12, -45.41)
CIE-LCHlch(14.00, 56.20, 306.10°)
OKLaboklab(27.34% 0.0286 -0.131)
OKLCHoklch(27.34% 0.134 282.3)
XYZxyz(3.2577, 1.7293, 12.4715)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231265 #546512
analogous
#122A65 #231265 #4C1265
triadic
#231265 #652312 #126523
tetradic
#231265 #65122A #546512 #12654C
square
#231265 #65122A #546512 #12654C
split-complementary
#231265 #654C12 #2A6512
monochromatic
#09051A #110931 #231265 #351B99 #4725CD

Accessibility & contrast

On white

15.60
#231265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231265
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231265#FFFFFF#000000##FFFFFF
##2312651.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231265;
/* rgb */ color: rgb(35, 18, 101);
/* oklch */ color: oklch(27.3% 0.134 282.3);
Tailwind
colors: {
  custom: {
    50: '#685392',
    500: '#231265',
    950: '#000000',
  },
}
SCSS
$custom: #231265;
$custom-light: #685392;
$custom-dark: #000000;
JSON
{
  "hex": "#231265",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 252.289,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27339,
    "c": 0.13406,
    "h": 282.3
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#231265
secondary
#889D36
accent
#ED3BC8
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231265

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

Preview Lab → · Contrast checker → · Palette generator →

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