#230E5D#230E5D

#230E5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.128 H 285.4°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#230E5D
RGBrgb(35, 14, 93)
HSLhsl(256, 74%, 21%)
HSVhsv(256, 85%, 36%)
CMYKcmyk(62.4%, 84.9%, 0%, 63.5%)
CIE-LABlab(12.36, 32.64, -42.78)
CIE-LCHlch(12.36, 53.81, 307.34°)
OKLaboklab(25.93% 0.034 -0.1232)
OKLCHoklch(25.93% 0.128 285.4)
XYZxyz(2.8254, 1.4615, 10.4870)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E5D #485D0E
analogous
#0E205D #230E5D #4A0E5D
triadic
#230E5D #5D230E #0E5D23
tetradic
#230E5D #5D0E20 #485D0E #0E5D4A
square
#230E5D #5D0E20 #485D0E #0E5D4A
split-complementary
#230E5D #5D4A0E #205D0E
monochromatic
#0A041B #0F0628 #230E5D #371692 #4B1EC7

Accessibility & contrast

On white

16.25
#230E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#230E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E5D
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E5D#FFFFFF#000000##FFFFFF
##230E5D1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#042536
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #230e5d;
/* rgb */ color: rgb(35, 14, 93);
/* oklch */ color: oklch(25.9% 0.128 285.4);
Tailwind
colors: {
  custom: {
    50: '#67508c',
    500: '#230e5d',
    950: '#000000',
  },
}
SCSS
$custom: #230e5d;
$custom-light: #67508c;
$custom-dark: #000000;
JSON
{
  "hex": "#230e5d",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 255.949,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25927,
    "c": 0.12784,
    "h": 285.4
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#230E5D
secondary
#7B9730
accent
#F037BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #230E5D

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

Preview Lab → · Contrast checker → · Palette generator →

#230E5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva