#230E52#230E52

#230E52 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.114 H 289.4°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#230E52
RGBrgb(35, 14, 82)
HSLhsl(259, 71%, 19%)
HSVhsv(259, 83%, 32%)
CMYKcmyk(57.3%, 82.9%, 0%, 67.8%)
CIE-LABlab(11.14, 29.15, -37.34)
CIE-LCHlch(11.14, 47.37, 307.99°)
OKLaboklab(24.71% 0.0377 -0.1073)
OKLCHoklch(24.71% 0.114 289.4)
XYZxyz(2.3727, 1.2805, 8.1031)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E52 #3D520E
analogous
#0E1B52 #230E52 #450E52
triadic
#230E52 #52230E #0E5223
tetradic
#230E52 #520E1B #3D520E #0E5245
square
#230E52 #520E1B #3D520E #0E5245
split-complementary
#230E52 #52450E #1B520E
monochromatic
#0B041A #0D051E #230E52 #391786 #5020BB

Accessibility & contrast

On white

16.72
#230E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#230E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E52
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E52#FFFFFF#000000##FFFFFF
##230E521.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#11212F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230e52;
/* rgb */ color: rgb(35, 14, 82);
/* oklch */ color: oklch(24.7% 0.114 289.4);
Tailwind
colors: {
  custom: {
    50: '#644f83',
    500: '#230e52',
    950: '#000000',
  },
}
SCSS
$custom: #230e52;
$custom-light: #644f83;
$custom-dark: #000000;
JSON
{
  "hex": "#230e52",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 258.529,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24706,
    "c": 0.11376,
    "h": 289.4
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#230E52
secondary
#708C2F
accent
#EE3AB6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230E52

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

Preview Lab → · Contrast checker → · Palette generator →

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