#231068#231068

#231068 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.140 H 281.9°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#231068
RGBrgb(35, 16, 104)
HSLhsl(253, 73%, 24%)
HSVhsv(253, 85%, 41%)
CMYKcmyk(66.3%, 84.6%, 0%, 59.2%)
CIE-LABlab(13.98, 35.12, -47.41)
CIE-LCHlch(13.98, 59.00, 306.53°)
OKLaboklab(27.43% 0.0289 -0.1368)
OKLCHoklch(27.43% 0.14 281.9)
XYZxyz(3.3763, 1.7271, 13.2495)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231068 #556810
analogous
#102968 #231068 #4F1068
triadic
#231068 #682310 #106823
tetradic
#231068 #681029 #556810 #10684F
square
#231068 #681029 #556810 #10684F
split-complementary
#231068 #684F10 #296810
monochromatic
#09041B #110833 #231068 #35189D #4720D2

Accessibility & contrast

On white

15.61
#231068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231068
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231068#FFFFFF#000000##FFFFFF
##2310681.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231068;
/* rgb */ color: rgb(35, 16, 104);
/* oklch */ color: oklch(27.4% 0.140 281.9);
Tailwind
colors: {
  custom: {
    50: '#695294',
    500: '#231068',
    950: '#000000',
  },
}
SCSS
$custom: #231068;
$custom-light: #695294;
$custom-dark: #000000;
JSON
{
  "hex": "#231068",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 252.955,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27433,
    "c": 0.1398,
    "h": 281.9
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#231068
secondary
#89A034
accent
#F038C8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231068

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

Preview Lab → · Contrast checker → · Palette generator →

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